Added travis configuration and postgresql.