Update UniqueObject.php

New approach with token as "mapped fields" option

Usage:
$uniqueEmailValidator = new UniqueObject(array(
            'object_repository' => $userRepository,
            'fields' => array('email'),
            'object_manager' => $this->getObjectManager(),
            'token' => array(
                'id' => 'user_id'
            ),
        ));