Postgres support for Transition apps

Adds the same module we use in GOV.UK puppet and then creates a database
for the Transition app to use.
ewww