Shell: execute commands from stdin if supplied filename is '-'.
Shell: fix potential resource leak, remove unused bit.
Fixes #1313 - identifiers lost when starting with WITH
Adds optional NodeRangeScanSupport interface and implements it for the lucene scan store

This interface will allow the consistency checker to scan the label scan store in one pass instead of
having to do one pass per label.

Also removes SingleNodeDocumentLabelScanStorageStrategy (which is not used any more)
Make BufferingLogger Thread-Safe

 * BufferingLogger wasn't thread-safe and caused TestKernelPanic to be flaky,
   as it could occasionally throw ConcurrentModificationException from the
   underlying ArrayList.
 * Also fixed a data-race bug in TestKernelPanic, where registerization of the
   Panic.panic field could prevent us from observing correct behaviour.
Shell: make test for reading from stdin more robust, polish.
Shell: set encoding for reading from stdin.
Kernel: add test for Args class parsing an option with a dash as value.
Kernel: make operator precedence explicit for better readibility.
Shell: update manpage for reading from stdin.
Performance optimizations for best-first selector

Mostly revolving around finding single paths. This gives a good
improvement when calling PathFinder#findSinglePath for those graph
algorithms using the traversal framework and more specifically the
BestFirstSelector. Currently this will benefit Dijkstra and A*, although
the default implementation of A* is a custom non-traversal-framework
version that only supports single paths anyways so already has got a
similar performance behaviour. Look at TraversalAStar for a A* version
that uses the traversal framework.
Revert "Copy indexes on copy store in HA."

Breaks Windows build

This reverts commit 8f5848a741680f3c3320a4ffc78c1fc99f5b1bcc.
Revert "Revert "Copy indexes on copy store in HA.""

This reverts commit 9bc18e1a2ca06d55ad07bf0fddc55a37da3a3ca3.
Consistency checker: decouple task type from StoreProcessor dependency.

Introduce StoppableRunnable as minimal task interface.
Merge pull request #1363 from chrisvest/fix-flaky-kernel-panic-test

Make BufferingLogger Thread-Safe
Merge pull request #1353 from jotomo/stdin

Shell: Enable reading from stdin
Added changelog note about STDIN piping for shell.
Fixes unclosed file issue on windows, and another issue that was uncovered related to closing lucene snapshots without commits in them.
Merge pull request #1362 from boggle/2.0-node-range-scan-support

Adds optional NodeRangeScanSupport interface and implements it for the l...
tidyng up based on feedback from PR