Only scan bodhi.views, to avoid importing in our tests
Add some missing imports
Remove bodhi.util.sha1sum
Rewrite load_config and add get_configfile and get_db_from_config helpers
Add a unit test for load_config
Add a dev option to get_db_from_config
Add a get_db_from_config test
Port the metrics script