Add forEach method to Gremlin and TraversalWrapper.

@mhfrantz 

[Delivers #83517854]
Test whether this works with a java.util.ArrayList or something.  I'm wondering because you claim it works in the doc, but I don't see how the promise stuff would work if javaIterator were an actual Java Iterator.