search: lookup RepositoryRevisions by RepoID for Zoekt
Created by: keegancsmith
Previously we were name based. However, Zoekt stores and returns the repository ID. So we can instead store the lookup data by ID. This is not only smaller in memory, but helps us move towards a world where we don't need the name.
This commit is mostly a refactor around updating type signatures.