fix getFlags() to return a value
CLOSED - task 1: Change ReplayIndex.matchIterator to ListIterator 
http://github.com/skadistats/clarity/issues/issue/1