Fixes #1313 - identifiers lost when starting with WITH
Fix flaky shouldNotSnapshotPopulatingIndexes

The test was racing with the population job that was started, because was
initially in a populating state.

The changes introduce a latch, that prevent this population job from completing
before we have taking our snapshot, thus ensuring that the index is indeed
still populating when we take our snapshot.
Merge pull request #1360 from systay/1313

Fixes #1313 - identifiers lost when starting with WITH
Merge pull request #1372 from chrisvest/fix-flaky-shouldNotSnapshotPopulatingIndexes

Fix flaky shouldNotSnapshotPopulatingIndexes
Make label scan store available in consistency checker.

o Make neo4j-consistency-check depend on neo4j-lucene-index
o Add LuceneLabelScanStoreBuilder as a second, straightforward way to instantiate LuceneLabelScanStore that bypasses kernel extensions
 (which are difficult to instantiate freestanding without starting a full database)