[WFLY-3349] Synchronization of cosmetic schema changes with EAP.

The purpose of this commit is to make it easier to verify that the EAP and WildFly schemas are actually in synch.
Merge pull request #6267 from darranl/WFLY-3349

[WFLY-3349] Synchronization of cosmetic schema changes with EAP.
Don't use deprecated apis, part 1
Don't use deprecated apis.
Connectors - Don't use deprecated apis.
Use SimpleAttributeDefinitionBuilder instead of constructor
Don't use deprecated apis in connector subsystems
Use OperationDefinition