Install pg for development

Changed the development and test databases from Sqlite to Postgres.

<!---
@huboard:{"order":20.625,"milestone_order":35,"custom_state":""}
-->