Fix CITIZENS-416 (script compiler was using the wrong classloader to initialise ScriptEngineManager)