Add additional precise-code-intel gitserver behavior
Created by: efritz
Move precise-code-intel-api-server gitserver calls to a package in internal/codeintel. Fill out additional methods that will be needed by the precise-code-intel worker.
This partially implements https://github.com/sourcegraph/sourcegraph/issues/9965.