hooks: Override the user agent to Gitaly
GitLab-Shell provides Gitaly with the client to connect to GitLab-Rails.
This sets the user agent for the HTTP requests to GitLab-Shell
, and
thus Gitaly isn't easy to spot in logs.
This change sets the Gitaly version string as user agent, which than also allows to differentiate versions during deploys.