Support Symfony 2.2
Adjust for changes in MenuBundle and phpcr-odm