Share code for scanning through stores.

o Introduce BoundedIterable.
Consistency checker: multi-pass processing for label scan store and indexes.
Consistency checker: delegate incremental checking to full checking.
Merge pull request #1424 from apcj/2.0-ccheck-multi-pass

2.0 ccheck multi pass