repo-store: Convert the repos store to use basestore
Created by: asdine
Convert the internal/db/repos store to extend the basestore.Store
Extracted from https://github.com/sourcegraph/sourcegraph/issues/14092 and https://github.com/sourcegraph/sourcegraph/issues/11676