Get rid of dependencies on native xml+docbook and w3m, remove docs from packages.

* Validate docbook xml using mvn.
* Build manpages using mvn.
* Remove manpages in text format.
* Use jericho instead of  w3m.
* Fix bug with missing content in UPGRADE.txt.
* Make the text in UPGRADE.txt more readable.
Make Cypher/Java example code use the actual imports needed,
Revert: Reverts HA state transitions if one or more state transition listeners fail

This will make the state machine more resilient and a retried event will
be able to succeed. (1461f2a4d0f74db6cf998d1af47e0a10e81670a4)
On master switch fail, now demote the instance

Conflicts:
	enterprise/ha/src/main/java/org/neo4j/kernel/ha/HighlyAvailableGraphDatabase.java
	enterprise/ha/src/test/java/org/neo4j/kernel/ha/cluster/HighAvailabilityModeSwitcherTest.java
Remove deprecated tests
Merge pull request #2256 from nawroth/new-manual2

Get rid of dependencies on native xml+docbook and w3m.
Merge pull request #2259 from nawroth/cypher-java-example

Make Cypher/Java example code use the actual imports needed.
Tagging for version 2.0.2
Back to development version.
Compilation problem
Brought back some example store files accidentally deleted by the release script
Compilation on Java 8.
Provides legacy/sample stores as .zip to avoid some release scripting issues
Merge branch '1.9-maint' into 2.0-maint

Conflicts:
	community/kernel/src/test/java/org/neo4j/kernel/impl/storemigration/MigrationTestUtils.java
	community/kernel/src/test/java/org/neo4j/kernel/impl/storemigration/NeoStoreVersionRecordUpgradeIssueIT.java
	community/kernel/src/test/java/org/neo4j/kernel/impl/storemigration/StoreMigratorTestIT.java
	community/kernel/src/test/java/org/neo4j/kernel/impl/storemigration/legacystore/ReadRecordsTestIT.java
	community/kernel/src/test/java/org/neo4j/kernel/impl/transaction/xaframework/TestUpgradeOneDotFourToFiveIT.java
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/exampledb/active_tx_log
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/exampledb/messages.log
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/exampledb/neostore
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/exampledb/neostore.id
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/exampledb/neostore.nodestore.db.id
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/exampledb/neostore.propertystore.db.arrays
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/exampledb/neostore.propertystore.db.arrays.id
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/exampledb/neostore.propertystore.db.id
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/exampledb/neostore.propertystore.db.index
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/exampledb/neostore.propertystore.db.index.id
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/exampledb/neostore.propertystore.db.index.keys
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/exampledb/neostore.propertystore.db.index.keys.id
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/exampledb/neostore.propertystore.db.strings
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/exampledb/neostore.propertystore.db.strings.id
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/exampledb/neostore.relationshipstore.db.id
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/exampledb/neostore.relationshiptypestore.db.names
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/exampledb/tm_tx_log.1
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/propkeydupdb/active_tx_log
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/propkeydupdb/index/lucene.log.active
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/propkeydupdb/neostore.nodestore.db.id
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/propkeydupdb/neostore.propertystore.db.arrays
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/propkeydupdb/neostore.propertystore.db.arrays.id
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/propkeydupdb/neostore.propertystore.db.strings
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/propkeydupdb/neostore.propertystore.db.strings.id
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/propkeydupdb/neostore.relationshipstore.db.id
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/propkeydupdb/neostore.relationshiptypestore.db.id
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/propkeydupdb/neostore.relationshiptypestore.db.names
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/propkeydupdb/neostore.relationshiptypestore.db.names.id
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/propkeydupdb/nioneo_logical.log.active
	community/lucene-index/src/test/java/org/neo4j/index/impl/lucene/LuceneThreeFiveUpgradeIT.java
	community/lucene-index/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/indexcompat/neostore.labeltokenstore.db.id
	community/lucene-index/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/indexcompat/neostore.nodestore.db.labels.id
	community/lucene-index/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/indexcompat/neostore.relationshipstore.db.id
	community/lucene-index/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/indexcompat/neostore.relationshiptypestore.db.id
	community/server/src/test/java/org/neo4j/server/preflight/TestPerformUpgradeIfNecessary.java
	community/server/src/test/resources/org/neo4j/server/preflight/legacystore/exampledb/active_tx_log
	community/server/src/test/resources/org/neo4j/server/preflight/legacystore/exampledb/messages.log
	community/server/src/test/resources/org/neo4j/server/preflight/legacystore/exampledb/neostore
	community/server/src/test/resources/org/neo4j/server/preflight/legacystore/exampledb/neostore.id
	community/server/src/test/resources/org/neo4j/server/preflight/legacystore/exampledb/neostore.nodestore.db.id
	community/server/src/test/resources/org/neo4j/server/preflight/legacystore/exampledb/neostore.propertystore.db.arrays
	community/server/src/test/resources/org/neo4j/server/preflight/legacystore/exampledb/neostore.propertystore.db.arrays.id
	community/server/src/test/resources/org/neo4j/server/preflight/legacystore/exampledb/neostore.propertystore.db.id
	community/server/src/test/resources/org/neo4j/server/preflight/legacystore/exampledb/neostore.propertystore.db.index
	community/server/src/test/resources/org/neo4j/server/preflight/legacystore/exampledb/neostore.propertystore.db.index.id
	community/server/src/test/resources/org/neo4j/server/preflight/legacystore/exampledb/neostore.propertystore.db.index.keys
	community/server/src/test/resources/org/neo4j/server/preflight/legacystore/exampledb/neostore.propertystore.db.index.keys.id
	community/server/src/test/resources/org/neo4j/server/preflight/legacystore/exampledb/neostore.propertystore.db.strings
	community/server/src/test/resources/org/neo4j/server/preflight/legacystore/exampledb/neostore.propertystore.db.strings.id
	community/server/src/test/resources/org/neo4j/server/preflight/legacystore/exampledb/neostore.relationshipstore.db.id
	community/server/src/test/resources/org/neo4j/server/preflight/legacystore/exampledb/neostore.relationshiptypestore.db.names
	community/server/src/test/resources/org/neo4j/server/preflight/legacystore/exampledb/tm_tx_log.1
	enterprise/ha/src/main/java/org/neo4j/kernel/ha/HighlyAvailableGraphDatabase.java
	enterprise/ha/src/test/java/org/neo4j/kernel/ha/cluster/HighAvailabilityModeSwitcherTest.java
Merge branch '2.0-maint'

Conflicts:
	community/cypher/cypher-docs/src/test/java/org/neo4j/cypher/example/IntroDocTest.java
	community/cypher/cypher-docs/src/test/java/org/neo4j/cypher/example/JavaExecutionEngineDocTest.java
	community/cypher/cypher-docs/src/test/java/org/neo4j/cypher/example/JavaQuery.java
	community/cypher/cypher-docs/src/test/java/org/neo4j/cypher/example/JavaQueryDocTest.java
	community/cypher/cypher-docs/src/test/java/org/neo4j/cypher/javacompat/IntroDocTest.java
	community/cypher/cypher-docs/src/test/java/org/neo4j/cypher/javacompat/JavaExecutionEngineDocTest.java
	community/cypher/cypher-docs/src/test/java/org/neo4j/cypher/javacompat/JavaQuery.java
	community/cypher/cypher-docs/src/test/java/org/neo4j/cypher/javacompat/JavaQueryDocTest.java
	community/cypher/cypher-docs/src/test/scala/org/neo4j/cypher/docgen/DocumentingTestBase.scala
	community/cypher/docs/cypher-docs/src/test/java/org/neo4j/cypher/javacompat/IntroDocTest.java
	community/cypher/docs/cypher-docs/src/test/java/org/neo4j/cypher/javacompat/JavaExecutionEngineDocTest.java
	community/cypher/docs/cypher-docs/src/test/java/org/neo4j/cypher/javacompat/JavaQuery.java
	community/cypher/docs/cypher-docs/src/test/java/org/neo4j/cypher/javacompat/JavaQueryDocTest.java
	community/graph-algo/src/main/java/org/neo4j/graphalgo/impl/path/AStar.java
	community/kernel/src/test/java/org/neo4j/kernel/impl/storemigration/StoreMigratorIT.java
	community/kernel/src/test/java/org/neo4j/kernel/impl/storemigration/legacystore/ReadRecordsTestIT.java
	community/kernel/src/test/java/org/neo4j/kernel/impl/transaction/xaframework/TestUpgradeOneDotFourToFiveIT.java
	community/kernel/src/test/java/org/neo4j/test/Unzip.java
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/exampledb.zip
	community/kernel/src/test/resources/org/neo4j/kernel/impl/storemigration/legacystore/propkeydupdb.zip
	community/lucene-index/src/test/java/org/neo4j/kernel/impl/storemigration/legacystore/indexcompat/IndexFormatCompatibilityTest.java
	community/server/src/test/java/org/neo4j/server/preflight/TestPerformUpgradeIfNecessary.java
	community/server/src/test/resources/org/neo4j/server/preflight/legacystore/exampledb/neostore
	community/server/src/test/resources/org/neo4j/server/preflight/legacystore/exampledb/neostore.id
	community/server/src/test/resources/org/neo4j/server/preflight/legacystore/exampledb/neostore.nodestore.db.id
	community/server/src/test/resources/org/neo4j/server/preflight/legacystore/exampledb/neostore.propertystore.db.arrays
	community/server/src/test/resources/org/neo4j/server/preflight/legacystore/exampledb/neostore.propertystore.db.index
	community/server/src/test/resources/org/neo4j/server/preflight/legacystore/exampledb/neostore.propertystore.db.index.id
	community/server/src/test/resources/org/neo4j/server/preflight/legacystore/exampledb/neostore.propertystore.db.index.keys
	community/server/src/test/resources/org/neo4j/server/preflight/legacystore/exampledb/neostore.propertystore.db.strings
	community/server/src/test/resources/org/neo4j/server/preflight/legacystore/exampledb/neostore.relationshiptypestore.db.names
	enterprise/ha/src/main/java/org/neo4j/kernel/ha/cluster/HighAvailabilityModeSwitcher.java
Merge remote-tracking branch 'upstream/master'