[2.1] Print logs from flaky test shouldUpgradeDatabase().
Browser: escape server response to prevent XSS.

Fixes #2139
Revert: the restriction of types broke nested maps
Merge pull request #3014 from pontusmelke/revert-strict-type-checking

Revert: the restriction of types broke nested maps
Java subprocesses that we launch must be headless.

This is necessary for running tests on the build agents. This only
affects 1.9 because that runs against Java 6 where JMX insists on
starting up AWT even when it doesn't need a GUI.
Java subprocesses that we launch must be headless.

This is necessary for running tests on the build agents. This only
affects 1.9 because that runs against Java 6 where JMX insists on
starting up AWT even when it doesn't need a GUI.
Merge pull request #3023 from benbc/1.9-headless

Java subprocesses that we launch must be headless.
Java subprocesses that we launch must be headless.
Don't use exceptions for control flow.
Fix svg preserveAspectRatio attribute value.

* It's case sensitive in some browsers.
Fix svg preserveAspectRatio attribute value.

* It's case sensitive in some browsers.
Merge pull request #2997 from martinfurmanski/2.1-should-upgrade-flaky

[2.1] Print logs from flaky test shouldUpgradeDatabase().
Fix some compiler warnings, mostly in Cypher
Fix broken PROFILE in Cypher
Merge remote-tracking branch 'upstream/1.9-maint' into 2.0-maint

Conflicts:
	community/lucene-index/src/test/java/org/neo4j/index/impl/lucene/TestRecovery.java
	enterprise/ha/src/test/java/org/neo4j/ha/TestPullUpdatesApplied.java
Merge pull request #3034 from davidegrohmann/merge-1.9-into-2.0

Merge 1.9 into 2.0
Fix link
Merge remote-tracking branch 'upstream/2.0-maint' into 2.1-maint
Merge pull request #3035 from davidegrohmann/merge-2.0-into-2.1

Merge 2.0 into 2.1
Merge pull request #3029 from thobe/2.1-null-on-no-index

[2.1] Don't use exceptions for control flow