Inject locator into Hook manager to resolve repository path
To remove dependencies on the global config.Config var the Locator dependency injected into the Hook manager. To reduce amount of parameters to pass into GitlabAPI.Allowed method a new AllowedParams struct defined and used instead.
Part of: #2699 (closed)