Dependency inject gitlab api
Broken off from: !2155 (merged)
Instead of instantiating the gitlab net client within the hooks service, it's nicer to dependency inject it into the service so it can be more easily mocked. There are no functional changes in this MR.