[WFLY-3061] Check JMX subsystem is actually available before setting dependencies on JMX MBean server
[WFLY-3061] Use readResourceFromRoot(PathAddress address, boolean recursive)
Merge pull request #5996 from asoldano/WFLY-3061

[WFLY-3061] Check JMX subsystem is actually available before setting dep...
[WFLY-3051] Add a dependency on 'javax.api' to the 'org.wildfly.extension.io' module.