Allow EntityWrapper to also wrap EntityManagerDecorators 

Or anything that implements EntityManagerInterface.

I ran into the issue using NestedTree.  I modified BaseTestCaseORM to decorate the mocks returned by the three getMock*EntityManager() methods, and fixed all tests that failed by changing EntityWrapper to type-hint EntityManagerInterface instead of EntityManager.