codeintel: Remove more uses of execResolveRevGitCommand
Created by: ryanslade
This moves RawContents, ListFiles and CommitDate into the git
package.
Because the old code tried to resolve the revision on error, we do the same here too, but only inside the codeintel package.
Part of https://github.com/sourcegraph/sourcegraph/issues/27909