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.
Fix phpDoc syntax in ClassMetadataInfo.php
Merge pull request #697 from michaelperrin/patch-1

Fix phpDoc syntax in ClassMetadataInfo.php
Updated since php doc tag.
Merge pull request #695 from doctrine/RepositoryFactory

Implemented support for RepositoryFactory.