Merge Dbconfig into master

Local tests now run pybit-web directly, time to merge the dbconfig fixes back into master ready for the 0.5.0 release.