[WFLY-3072] Adding support for LDAP referral handling, initial changes to add support for this in the connections.
[WFLY-3072] Implementation to handle referrals during the authentication step and a test case.
[WFLY-3072] Test case and implementation for referral mode of THROW if encountered during user authentication.
[WFLY-3072] Adding additional and initial test for LDAP referrals and group loading.
[WFLY-3072] Implementation and additional tests for LDAP referral handling during group loading.
Merge pull request #6176 from darranl/WFLY-3072_Rebased

[WFLY-3072] Add support for referral handling for LDAP within security realms.