EvaluationEnvironment classloader fixes

This allows a parent classloader to be specified, or else the current
thread context classloader is being used.