Add forEach method to Gremlin and TraversalWrapper.

@mhfrantz 

[Delivers #83517854]
You are indeed right. I implemented IteratorWrapper to address this.