Configure Doctrine Migrations with separate app and deploy users.
Change default DBAL connection to middleware.
Move to single deploy conn; the gateway is responsible for its own db.
Merge pull request #1 from SURFnet/feature/doctrine-migrations

Configure Doctrine Migrations with separate app and deploy users.