Revert "Merge pull request #6237 from bstansberry/WFLY-2741-3058"

This reverts commit 56df5721bb734de8938f0024ab4865ae9b35d487, reversing
changes made to d2d25ce1e497e5522bfcf73aca0084e96fa2088a.
Revert "Revert "Merge pull request #6237 from bstansberry/WFLY-2741-3058""

This reverts commit 1acc7ae0673749547845f290bb7bab1967dbd71e.
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
Enable checkstyle & fix found errors for domain testsuite
Remove assert for deleting files, it will always fail on windows as ModuleLoader still holds files open