Implement IteratorWrapper.

Use IteratorWrapper to directly support java.util.iterator in Gremlin.forEach.