Actually check the write-attribute ops in ModelTestUtils.checkFailedTransformedBootOperations() and fix the test usage.
messaging: fix resource transformation

* add resource transformation for UNDEFINE op to
  discard new attributes
* do not discard new attributes when calling write-operation. Instead
  fail the operation if its outcome is != IGNORED
* fix FailedOperationTransformationConfig to ensure the attribute
  we check is handled by this config object
fix messaging tests for expression rejection
Make DiscardAttributesTransformer abstract to force people to think before using it
Reenable the write attribute checking
Fix JPA test to only discard the new attributes if they contain what is the default on the server