Update to be compatible with Symfony 2.3

The CRUD generator hasn't been updated yet. Just some minor fixes were made.