Allow all EntityManagerInterface implementations

This is necessary if Doctrine\ORM\Decorator\EntityManagerDecorator is used.
Fix second level cache doc
Merge pull request #1042 from bakura10/patch-1

Fix second level cache doc
Merge pull request #1041 from c960657/entity-manager-interface

Allow all EntityManagerInterface implementations