remove instance of dbconn.Global
Created by: camdencheek
This removes an instance of dbconn.Global by passing the db down from parent functions.
I'm pruning dbconn.Global aggressively because some of these are blocking
getting rid of things like the global repos store, and I'd like to fully remove
deprecated packages like dbtest
.