Change test to not rely on text in the error pages
Minor update to test utility to check if the server has actually sent a response before trying to use it, corrects a NullPointerException that was masking real failures.
Don't use the status code of 401 as that is specifically used when sending a challenge to the client, 403 is better suited where the request reaches the resource but we still choose not to fulfil the request.
Use the getName() method of Principal rather than relying in toString().
Initial Undertow integration with AS

* webservices subsystem does not compile
* make arq work again
* fix resolving socket binding
* fix default configs
* only use client api
* fix import dependancies
* change tests to look for subsystem=undertow instead of subsystem=web
* fix managed domain
* proper xsd
* improve xsd and use proper schemas
* upgrade to servlet spec 3.1
* fix root context test
* fix default config
* Rename io.undertow module to io.undertow.core
* enable file welcome content
* fix bad tests
* Fix also https testcase
* Fix TransportGuaranteeTestCase
* Update default config
* fix marshalling testcase
* @Ignore for stuff that we know that it does not work
* initial merge of undertow subsystem from undertow-io/undertow-subsystem
upgrade to undertow 1.0.0.Alpha5
Fix client CERT test for the first time in two years
Initial clustering support
re-enable clustring tests

re-enable more tests

Fix configurations to use undertow
Don't get the servlet context till after the deployment is started
AS7-6797 AS7-6796 AS7-6798 Ignore tests for which we don't have Undertow support yet

 * AS7-6798 - disable mod cluster tests until we have proper undertow support
 * AS7-6811 - ignore tests
 * Minor clean up within tests and diable WebSecurityJBossWebXmlSecurityRolesTestCase as behaviour being tested currently considered invalid.
Small test modification to allow for authentication mechanism configured for web app to be returned after programatic authentication.
Changes after code review
Small fixes while reviewing
Fix the way listeners are created
Use concurrentHashMap
Set MAX_FD_LIMIT correctly for mac os x
Upgraded joda-time
         joda-time:joda-time:2.2
Upgraded org.codehaus.jackson
         org.codehaus.jackson:jackson-core-asl:1.9.11
         org.codehaus.jackson:jackson-mapper-asl:1.9.11
         org.codehaus.jackson:jackson-jaxrs:1.9.11
         org.codehaus.jackson:jackson-xc:1.9.11
Added module com.mysql
      com.mysql:mysql-connector-java:5.1.24