Browser: escape server response to prevent XSS.

Fixes #2139
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.
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
Prettier exception when backup target is different store
Add semantic checking to unique constraints in AST

This avoids the unnecessary creation of an additional legacy query tree
for every statement.
Merge pull request #3048 from cleishm/no-legacy-verify

Add semantic checking to unique constraints in AST
Merge pull request #3002 from lutovich/2.1-prettier-exception-in-backup

Prettier exception when backup target is different store
Remove artifacts from merge
IdMapping interface for BatchImporter that makes sense

derived from actual use case. Although there's only one implementation,
which is to use the actual node ids provided directly from the input
entities.

Basically the changes consist of:

 * having InputEntity#id(), InputRelationship#startNode()/endNode() return Object
 * IdMapper has something closer to an index interface with put and get
 * IdMapping is provided to BatchImporter#doImport and couple an IdMapper
   and IdGenerator (batch import version of an id generator)
 * NodeStage uses IdMapper#put in conjunction with IdGenerator#generate and
   IdMapper#sort in the end
 * RelationshipStage calls IdMapper#get
Merge pull request #3063 from tinwelint/2.1-proper-id-mapper-interface

IdMapping interface for BatchImporter that makes sense