Cleaned up cabal-file and added postgres-dependency to travis configuration