Add a database configuration for travis ci

Travis CI requires the username `postgres` when using postgresql as the database service. This however clashes with the common postgresql installation on Macs (i.e. the postgres username is the system username).

Besides that create the database before running the migrations.

See http://about.travis-ci.org/docs/user/database-setup/#PostgreSQL