SLING-6531 allow to configure a threshold for the validation failure severities. Only failures equal or above the threshold let Sling Models consider the model invalid. Update to latest parent. Migrate to OSGi annotations.