Change resetConstraints to an virtual fonction.

Add addConstraintToConfigProjector function.
Change resetConstraints() to virtual.