CRM-1659: Implement DoctrineExtensions for Oro - fixed dependencies