Update app kernel

Seems to have the other commits in from the original PR too, but if you merge them it'll just show the latest 2.

Brings AppKernal.php in to line with the latest Symphony & changes the database puppet module to use Doctrine Migrations by default.