Perform database setup for CI

Provide a separate config used for the app in CI. Alter jenkins script
to run migrations and run rake task to create databases and add
extensions.