Added travis passing wip branch
Added pg setup to travis ci
Changed db to postresql
Split database create commands into 2 commands
Merged with master