make it possible to configure the ClassMetadataFactory class name, RepositoryFactory and default repository class name

requires https://github.com/doctrine/phpcr-odm/pull/367