EntityRepository->countBy() method to complement findBy()
Merge branch 'master' of github.com:Signature-IT/doctrine2

Conflicts:
	lib/Doctrine/ORM/EntityRepository.php
	lib/Doctrine/ORM/Persisters/BasicEntityPersister.php