Implementation of rangeIterator for store.

Perhaps a test where ranges are being added and removed?  Seems like the Iterator was built with that possibility in mind, including the possibility that ranges might be skipped in a pass.