[WFLY-2595] Rewrite the logging DUP's. Ensure the undeploy unregisters the log contexts so class loaders and log contexts aren't leaked.
Merge pull request #5567 from jamezp/WFLY-2595

[WFLY-2595] Rewrite the logging DUP's. Ensure the undeploy unregisters the log contexts so class loaders and log contexts aren't leaked.