WFLY-1650 :  Legacy subsystem testing needs some classloading exclusion mecanism

Adding parent class lading exlusion mecanism to the ChildFirstClassLoader to avoid potential ClassCastException with Logger.
https://issues.jboss.org/browse/WFLY-1650