gitserver: change the way gitserver client is created
Created by: sashaostrikov
From now on, gitserver client accepts a DB connection which will be further used for gitserver hashing algorithm change and repos migration.
This PR makes a little change of gitserver.NewClient
function signature
Test plan
Check that there are no failing tests