add odm support and relax usage of orm events (fallback to more general ones from doctrine/common)