Changed MongoDB/UniqueValidator to match the new Doctrine API
Changed MongoDB/UniqueValidator to match the new Doctrine API

Fix errors like "Fatal error: Call to undefined method Doctrine\ODM\MongoDB\DocumentManager::findOne() in /Users/dunglas/Documents/workspace/planning/src/Bundle/DoctrineUserBundle/Validator/Doctrine/ODM/Mo

dunglas/DoctrineUserBundle