[WFCORE-33] Correct http-upgrade parsing with respect to 1.x and 2.x schemas.
Merge pull request #65 from darranl/WFCORE-33

[WFCORE-33] Correct http-upgrade parsing with respect to 1.x and 2.x schemas.
Merge pull request #66 from darranl/WFCORE-35

[WFCORE-35] Take schema version into account when parsing jvm element.
[WFCORE-22] Portiong version 1.6 of the management schema to WildFly.

Also a change to the default handling within the switch blocks so that the major version can be taken into account. i.e. In the future when we add support for version 1.7 remove the need to identify every location that 1.6 was given special handling.