[Doctrine] [Bridge] Add a "repository" option to the uniqueEntity validator.

The repository option expects an entity path, in order to select its repository.
This allows to use properly the UniqueEntity constraint on hierarchical (inheritance) entities, using the root class repository in order to check the uniqueness, and not just the child repository.