Symfony 2 (Doctrine) fixes

Doctrine is never intended to be (and it definitely should not be) used in a live environment without metadata and query caching (note this is not result caching). 

Its performance will be significantly impeded without it - this will be unfairly impacting the result of the test for Symfony 2.