Added getCurrentAndAdvance to itertutil