More information in the case of an invalid offset
Added RepeatRule, to help debug flaky tests.
Added debug logging for flaky test
License headers..
Ensure index recovery happens after neostore fully recovered

Before this commit the deferred recovery of schema related indexes (done
in IndexingService#start) was done in NeoStoreXaDataSource#start. That
worked fine if the neostore data source could resolve all recovered
transactions by itself, i.e. there were only 1PC transactions or the
encountered 2PC transactions all had their 2PC log entries present.
If not then there were an additional pass where the tx log was consulted
and finally each individual data source was notified about what to do with
the pending transactions. If one or more transactions needed to involve the
tx log then making the neostore "OK" was delayed until after
TxManager#doRecovery had been called.

Now deferred schema index recovery takes place as part of the
TxManager#doRecovery pass and so will always see all recovered
transactions and get the deferred index updates from a fully recovered
store.
Some polish on the cluster prover
Merge pull request #2076 from tinwelint/2.0-recovery-fix

Ensure index recovery happens after neostore fully recovered
Move node labels from node patterns to WHERE using ast rewriting
Merge pull request #2078 from boggle/2.1-normalize-node-labels

Move node labels from node patterns to WHERE using ast rewriting
Add an implementation of the plan description to AllNodesScanPipe
Merge branch '1.9-maint' into 2.0-merge-1.9

Conflicts:
	community/kernel/src/main/java/org/neo4j/kernel/impl/nioneo/store/Buffer.java
Merge pull request #2082 from tinwelint/2.0-merge-1.9

2.0 merge 1.9
Merge branch '2.0-maint' into 2.1-merge-2.0

Conflicts:
	community/kernel/src/main/java/org/neo4j/graphdb/factory/GraphDatabaseBuilder.java
	community/kernel/src/main/java/org/neo4j/kernel/InternalAbstractGraphDatabase.java
	community/kernel/src/main/java/org/neo4j/kernel/impl/nioneo/xa/NeoStoreXaDataSource.java
	community/kernel/src/main/java/org/neo4j/kernel/impl/transaction/TxLog.java
	community/kernel/src/main/java/org/neo4j/kernel/impl/transaction/xaframework/LogEntry.java
	community/kernel/src/main/java/org/neo4j/kernel/impl/transaction/xaframework/XaResourceManager.java
	community/kernel/src/test/java/org/neo4j/kernel/impl/nioneo/store/TestNeoStore.java
	community/kernel/src/test/java/org/neo4j/kernel/impl/nioneo/store/TestXa.java
	community/kernel/src/test/java/org/neo4j/kernel/impl/nioneo/xa/NeoStoreTransactionTest.java
	enterprise/ha/src/main/java/org/neo4j/kernel/ha/cluster/HighAvailabilityModeSwitcher.java
Changed predicate normalization to use delegation instead of an abstract class
Merge pull request #2083 from tinwelint/2.1-merge-2.0

2.1 merge 2.0
Added test for incrementally backing up a dense node
Introduce MatchPredicateNormalizer chaining to avoid multi pass predicate rewriting

o Introduce PartialFunctionSupport
o Remove old PredicateRewriter
Merge pull request #2086 from boggle/2.1-normalize-node-labels

2.1 refactor match predicate extraction
Reenable ScalaStyle on build for Cypher

The list of enabled rules is at this point minimal compared to the old config
but every violation is treated as an error and fails the build.
The next steps for this will be to keep adding more rules one by one
and fixing the existing occurrences.
Adding explicit key at relative path for ssh

This helps us run in TeamCity as well as on Jenkins