Register Doctrine event manager as service