[FrameworkBundle] Made ConstraintValidatorFactory aware of the legacy validators