codeintel: Add CalculateVisibleUploads to store
Created by: efritz
This PR adds methods to the store that populate/read some of the nearest upload data in the new tables defined in RFC 186.
This is part of a larger effort towards https://github.com/sourcegraph/sourcegraph/issues/12098.