Second Level Cache

This PR supersedes https://github.com/doctrine/DoctrineBundle/pull/224