remove remaining uses of database.GlobalUsers
Created by: camdencheek
This commit removes all remaining references to the deprecated database.GlobalUsers by propagating a handle to the db from parent contexts. The only remaining global store is GlobalRepos, which is a bit tangled up with the backend repos service singleton and a global cache.