Postgres tests

Makes the travis tests run towards a postgres instance.