WFLY-3102 EJB in war should inherit the default security domain
[WFLY-3477] Adding a new test to the existing test cases to cover the scenario where the context referrs to another server.
[WFLY-3477] Add support for specifying if the original connection is preferred or not for group to principal based searches.

Update the related test case to make use of this.
[WFLY-3477] Spelling correction identified during pull request review.
Merge pull request #6167 from stuartwdouglas/WFLY-3102

WFLY-3102 EJB in war should inherit the default security domain
Merge pull request #6370 from darranl/WFLY-3477

[WFLY-3477] For group to principal LDAP searches we need the option to use the referral connection for the group search.
Add Wildfly build plugin and change build to use this instead of ant scripts

This also introduces the wildfly core module that is used as part of the core build
Fix up missing dep
Don't set permissions on windows
Fix test to use configs from installation rather than build path
Fix rebase issue
Fix build ordering