fix test init
fix config bug; add some logging
invert sense of --refresh option; add hardcoded tests to --init-db
use generator for queues, rather than callbacks
remove callback
simplify test executor
add comment
break out refresh_package fn
promote refresh_package fn
tidy up quickstart
add partial/minimal download/refresh operations
resurrect get_package() function, unaccountably removed at 8fb2efd3733a7a8daf166cbfb88cd4acdd3e57b3
clear up db transaction vulnerabilities