Added a test force a stackoverflow in GremlinScriptEngine.

StackOverFlow occurs when a custom function is defined and used in a closure.  It works if the function is sent in the same script as the closure that is using it.