Added support for first() on GremlinGroovyPipeline