Add forEach method to Gremlin and TraversalWrapper.

@mhfrantz 

[Delivers #83517854]