Adding support to specify custom database config via env. Required to test different db adapter.
Adding postgres specific database config.
Correcting specs if running using postgres.
Adjusting travis config to use postgres.