codeintel: Refactor large interface in gitserver layer
Created by: efritz
Refactor PR
Remove the interface defined in the gitserver package. Replace it with a struct and define the interfaces where it is used instead. This requires moving the mocks around, which is where the bulk of this change comes from.