Implemented support for RepositoryFactory.
Fixed wrong interface.
Reducing dependency on RepositoryFactory by providing EntityManager as a getRepository argument.
Reduced granularity of DefaultRepositoryFactory reference to ObjectRepository instances, in cases where consumers are completely rewrote EntityRepository.
Updated since php doc tag.
Merge pull request #695 from doctrine/RepositoryFactory

Implemented support for RepositoryFactory.