Ecore Validator implementation added to statemachine model. Note: Use
the statemachineValidation.genmodel to model with validation enabled.