db: Convert db/users to basestore
Created by: ryanslade
Convert the db/users struct to use basestore and rename it to UserStore
org_members
and globalstatedb
were also minimally changed and will be fully migrated to basestore in another PR.
Closes: https://github.com/sourcegraph/sourcegraph/issues/15854