Add generic validator for resources that can be validated with KieBuilder
Move GenericValidator to backend.