Move Gitaly-specific business logic into `internal/gitaly`
This MR moves some more packages which contain Gitaly-specific business logic into internal/gitaly
. All four of these moved packages are fairly stable and thus shouldn't cause too many merge conflicts.