[WFLY-3970] only send stop operation if the server is started
[WFCORE-163] Where the '=' character is included in a username only the first occurance is escaped.
Merge pull request #240 from emuckenhuber/WFLY-3970

[WFLY-3970] only send stop operation if the server is started
Merge pull request #241 from darranl/WFCORE-163

[WFCORE-163] Where the '=' character is included in a username only the first occurance is escaped.
[WFCORE-75] : Remove need for native-interface on the Host Controller
DC - HC communication not "remote" only.

Moving hard coded checks from tests.
Adding a protocol attribute in the host.xml
Updating client configuration so that http-remoting and https-remoting are working as HC / DC management connection.
[WFCORE-75] : Remove need for native-interface on the Host Controller
Passing the 'automatic' connection parameters (management interface available) from HC to Slave through the ProcessController.
Making discovery protocol aware so that we can reconnect on respawn.
[WFCORE-75] : Remove need for native-interface on the Host Controller
Adding core model tests for new attribute in case of remote domain controller.
Test for respawn in case we have NO native management interface.
[WFCORE-75] : Remove need for native-interface on the Host Controller
Fixing different issues reported against PR
Currently REMOTE is still the 'default' mode until we add support for multiple options.
Fixing rebase issue on HostXml
[WFCORE-75] : Remove need for native-interface on the Host Controller
Starting  DiscoveryService for all available management options.
Defining a strategy to choose the discovery option.