[1.9] Fix backup service incorrectly initializing new log with -1 as previous txId.

The backup service receives a transaction (the last one) and should initialize
the log header with its txId minus one.
Merge pull request #3206 from martinfurmanski/1.9-backup-incorrect-log-header-previous-txid

[1.9] Fix backup service incorrectly initializing new log with -1 txId.
Merge remote-tracking branch 'upstream/1.9-maint' into 2.0-maint

Conflicts:
	enterprise/backup/src/main/java/org/neo4j/backup/BackupService.java
Make PageCacheMonitor test less flaky

The new possibility for blocking page faults and direct transfer of new pages,
make it possible for more evictions to happen. These tests were written when
this wasn't the case, so they didn't take this into account. This has been
fixed.
Merge pull request #3211 from davidegrohmann/merge-1.9-into-2.0

Merge 1.9 into 2.0
Merge remote-tracking branch 'upstream/2.0-maint' into 2.1-maint

Conflicts:
	enterprise/backup/src/main/java/org/neo4j/backup/LogicalLogSeeder.java
	enterprise/backup/src/test/java/org/neo4j/backup/BackupServiceIT.java
Improve selectivity calculations.

With this change we no longer discard label predicates after using them.
Threads in executors used by Netty made daemon
Optional visualization diagnostics in a transparent footer.

Simple textual statistics update once per second while any
visualization is running.
Enable display of diagnostics through
:config showVizDiagnostics: true
Merge pull request #3213 from pontusmelke/improve-selectivity-calculations

[2.2] Improve selectivity calculations.
Merge pull request #3214 from davidegrohmann/merge-2.0-into-2.1

Merge 2.0 into 2.1
Merge pull request #3193 from lutovich/2.2-cleanup-netty-executors

[2.2] Threads in executors used by Netty made daemon
Merge remote-tracking branch 'upstream/2.1-maint'

Conflicts:
	enterprise/backup/src/main/java/org/neo4j/backup/LogicalLogSeeder.java
	enterprise/backup/src/test/java/org/neo4j/backup/BackupServiceIT.java
Merge pull request #3216 from apcj/visualisation_instrumentation

[2.2] Optional visualization diagnostics in a transparent footer.
Merge pull request #3218 from davidegrohmann/merge-2.1-into-master

Merge 2.1 into master
Convert tests to CypherFunSuite
Rename mergeUp & mergeDown to supremum & infimum

AKA leastUpperBound and greatestLowerBound
Merge pull request #3222 from cleishm/infimum_supremum

Rename mergeUp & mergeDown to leastUpperBound & greatestLowerBound
Merge remote-tracking branch 'upstream/2.0-maint' into 2.1-maint

Conflicts:
	community/cypher/cypher-compiler-2.0/src/test/scala/org/neo4j/cypher/internal/compiler/v2_0/symbols/TypeRangeTest.scala
	community/cypher/cypher-compiler-2.0/src/test/scala/org/neo4j/cypher/internal/compiler/v2_0/symbols/TypeSpecTest.scala
	community/cypher/cypher-compiler-2.1/src/main/scala/org/neo4j/cypher/internal/compiler/v2_1/ast/IterableExpressions.scala
	community/cypher/cypher-compiler-2.1/src/main/scala/org/neo4j/cypher/internal/compiler/v2_1/functions/Coalesce.scala
	community/cypher/cypher-compiler-2.1/src/main/scala/org/neo4j/cypher/internal/compiler/v2_1/symbols/SymbolTable.scala
	community/cypher/cypher-compiler-2.1/src/test/scala/org/neo4j/cypher/internal/compiler/v2_1/ast/CaseExpressionTest.scala
	community/cypher/cypher-compiler-2.1/src/test/scala/org/neo4j/cypher/internal/compiler/v2_1/symbols/CypherTypeTest.scala
Merge remote-tracking branch 'upstream/2.1-maint'