Update database config for Travis.
Fix some SQL quoting issues here and there.
Build matrix cleanup
Merge pull request #84 from wvanbergen/db_test_setup

DB test setup