(CDAP-864) Fix classloading in unit-test mode

Make class loading of byte code generated classes aware of classes that needs to be preserved with the original ClassLoader so that even user classes presented in both system classpath and program classloader, it can be loaded correctly.
Is the purpose that these classes have to be loaded by the system class loader? And excluded from the class loader built for this handler?