multiple project WIP: seems to work, all tests pass
move config to a class, prepare for DB config
add per-project database config
use per-project configuration settings
Merge branch 'master' into multiple_projects