Install pg for development

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

This comment—all the comments in this file—seem superfluous to me. They read exactly as well as the actual lines.