Removes unecessary console output from tests
Fixes autoindexer issue with excessive Remove commands for property changes

The autoindexer provided the "facility" of lazily removing properties from the
 autoindex when those properties were removed from the list of properties
 to autoindex. This however led to Remove commands to be issued for all
 remove and set calls on all properties no matter if they should be tracked
 or not, as long as auto indexing was enabled. It would do so moreover
 for every such call in a transaction.
This patch reverts this behaviour (and updates the documentation) to
 not dealing at all with properties that are removed from the list
 of auto indexed properties.
Merge branch 'digitalstain-1.9-fix-versioned-election' into 2.0-maint

Conflicts:
	enterprise/cluster/src/main/java/org/neo4j/cluster/protocol/atomicbroadcast/multipaxos/context/ClusterContextImpl.java
Updates changelogs for 1.9.9
Merge pull request #3163 from digitalstain/1.9-fix-versioned-election

[1.9] Solves issue with election results from a rejoining elector being dropped
Removes unecessary LogEntryShuffler ported over from a merge
Fixes compilation error in ElectionContextTest. Static import Mockito.mock()
Fix compilation error
Merge branch '1.9-fix-autoindexing' of https://github.com/digitalstain/neo4j into digitalstain-1.9-fix-autoindexing
Fixes a page write race in the batch importer

regarding creating the neostore and moving on to starting the actual
import. This would have been a problem when the IoQueue was used as the
writer.

This commit adds a flush+wait after creating the neostore to remedy this
problem.
Merge branch 'digitalstain-1.9-fix-autoindexing' into 2.0-maint

Conflicts:
	community/kernel/CHANGES.txt
	community/kernel/src/main/java/org/neo4j/kernel/AbstractAutoIndexerImpl.java
	community/kernel/src/test/java/org/neo4j/kernel/impl/util/LogEntryShuffler.java
	community/kernel/src/test/java/org/neo4j/kernel/lifecycle/LifeSupportTest.java
	community/lucene-index/src/test/java/examples/AutoIndexerExampleTests.java
	community/lucene-index/src/test/java/org/neo4j/index/impl/lucene/TestAutoIndexing.java
	enterprise/cluster/CHANGES.txt
	enterprise/ha/CHANGES.txt
	packaging/standalone/standalone-advanced/src/main/distribution/text/advanced/CHANGES.txt
	packaging/standalone/standalone-community/src/main/distribution/text/community/CHANGES.txt
	packaging/standalone/standalone-enterprise/src/main/distribution/text/enterprise/CHANGES.txt
Merge branch '2.0-maint' into 2.1-maint

Conflicts:
	community/kernel/CHANGES.txt
	enterprise/cluster/CHANGES.txt
	enterprise/cluster/src/test/java/org/neo4j/cluster/protocol/election/ElectionContextTest.java
	enterprise/ha/CHANGES.txt
	packaging/standalone/standalone-advanced/src/main/distribution/text/advanced/CHANGES.txt
	packaging/standalone/standalone-community/src/main/distribution/text/community/CHANGES.txt
	packaging/standalone/standalone-enterprise/src/main/distribution/text/enterprise/CHANGES.txt
Refactorings and improvements on batch importer staging

The staging framework for the ParallelBatchImporter has been
changed to reduce time spent in the framework itself as well
as reporing much more accurate statistics.

- Simplified Stage to only have #add(Step), instead of input/add
- Simplified and streamlined waiting of conditions in individual steps
  where conditions are first busy waited a little while, to then
  back off to a sleep strategy.
- Improved accuracy of statistics of upstream/downstream idling,
  possible since better placed for measuring was found.
- DetailedExecutionMonitor will find and print which step is the
  current most likely step to be the bottle neck in the stage.
- Correctly and efficiently follows the contract of a step, where
  batches must be sent downstream in the order they arrived, which
  implies total ordering as a whole between steps. Previously there
  was too strict checks such that some parallelization was hindered.

(cherry picked from commit e50473ec0ff19786fae997c4f9b09bca368d5bae)

Conflicts:
	community/consistency-check/src/test/java/org/neo4j/unsafe/impl/batchimport/ParallelBatchImporterTest.java
Revert "Remove metadata/id from the representation"

This reverts commit 786bbd63768d316c8633bdfb60bfaee2808210a0, and
converts the metadata/id representation to a Long.