GitService: Add support for refs

This commit adds support for Git refs.

Listing of refs does not support sub-namespaces.
refs: Add tests and fix found issues
refs: Fix some issues found during code review

Namely rename refCreateArgs to createRefRequest and refUpdateArgs to
updateRefRequest.