Fixed wrong iterator implementation for ChunkedIterator


This ChunkedIterator has incrorrectly implemented the PHP Iterator idiom. When ChunkedIterator is rewinded, it should also rewind the inner iterator. This is not done in the current implementation. In the current implmentation the ChunkedIterator is not compatible with a lot of iterators