SLING-4783 - The JavaScript scripting engine can generate classloader leaks * implemented Rhino class cache cleaning if the current thread's class loader is a DynamicClassLoader that's been marked as dirty