SWITCHYARD-2388 fix classloader issues when detecting required transformers

https://issues.jboss.org/browse/SWITCHYARD-2388