Basic support for creating an EntityManager

The Doctrine_EMFactory instance ensures that the composer autoloader
has been loaded and creates an EntityManager instance.