added PipeFunction
remove Groovy dependency
added _() to GremlinJS
add function to tests