make it possible to configure the ClassMetadataFactory class name, RepositoryFactory and default repository class name
Merge pull request #367 from doctrine/expand_configuration

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