Add infrastructure for computing and storing repository "vintages."

Will be used for caching the oldest commit that we have for a repository (for a
specific user). For now we just store the creation date if there are no commits
before that time.