more posgresql tweaks for dev - this makes sure to create the database if it is missing
more tuning for test infrastructure
Merge pull request #1920 from cloudedge/master

https://github.com/crowbar/crowbar/pull/1920

Merged by devtool for VictorLowther