Enabled APC cache for doctrine metadata & queries

Doctrine is never intended to be used in any live environment without metadata and query caching (note this is not result caching). Its performance will be significantly impeded without it
Merge pull request #183 from peterjmit/master

Symfony 2 (Doctrine) fixes