Do not re-build the shell when not required in Groovy, Scala and Javash.
Improve java function evaluation: do not require the user to catch any
exception.
Found bug in cancelExecution.
Merge pull request #959 from twosigma/ildipo/minorstuff

Do not re-build the shell when not required in Groovy, Scala and Javash.