add abstract class to allow usage of initializers configuration

add abstract class to allow usage of initializers configuration on controlers and services to set and get ObjectManager. Concrete implentations will be on each module "EntityManagerInitializer" for "DoctrineORMModule" and "DocumentManagerInitializer" for "DoctrineMongoODMModule"