Allow Go tests to run against a variety of databases

It would be nice to be able to run tests against of a variety of databases without having to edit `go.testsettings`. This will allow us to run tests against SQLite on local machines and against PostGreSQL on Travis.