Added support for creating Doctrine EntityManager like DAO objects

I would like to abandon approch of creating new "empty-class" repository for each entity and move to a single object managing them all like in Doctrine.