Consistency checker: first checks for label scan store.

Transpose nodes and labels in label NodeLabelRange to make consistency checking easier.
Wire in inconsistency reporting for label scan store.
Extend Closeable instead of AutoCloseable.
Unwind nested if statements.
Merge pull request #1380 from boggle/2.0-label-scan-store-verification

2.0 label scan store verification