Fixed the use of the escapetool utility in groovy

The escapetool utility is not available as a variable with the name "escapetool" in groovy the same way as it is available in velocity.