Merge pull request #1318 from jakewins/windowpool-npe-1.9

Fix for NPE in PersistenceWindowPool...
More explicit type arguments for the generic PriorityMap, to help some versions of javac
More explicit type arguments for the generic PriorityMap, to help some versions of javac
Fixes a recovery issue with deleted nodes

There was an issue where this scenario might happen:

 - TX1: Node N exists and has property record P
 - rotate log
 - TX2: P gets changed
 - TX3: N gets deleted (also P, but that's irrelevant for this scenario)
 - N is persisted to disk for some reason
 - crash
 - recover
 - TX2: P has changed and updates to indexes are gathered. As
   part of that it tries to read the labels of N (which does not
   exist a.t.m.)

We can actually just assume that if this happens and we're in
recovery mode that the node in question will be deleted in an
upcoming transaction, so just skip this update.
Remove MarkOptionalNodes, which is no longer needed
Removed tx.finish() warnings from Cypher
Added more information on unique indexing in REST API.
Merge pull request #1326 from tinwelint/2.0-fix-node-deleted-recovery-issue

Fixes a recovery issue with deleted nodes
Add modules for Cypher compiler 1.9 and 2.0

No code in these modules just yet, this is just a
preliminary step before moving the code over
Properties support for BigLabelStoreGenerator
Fix typo
Merge pull request #1327 from systay/minor-cleanup

Minor cleanup of Cypher
Update javadoc to not reference Query
Split Cypher compiler internals between 1.9 and 2.0 versions

Duplicate commands, data, executionplan, helpers, mutation, pipes, profiler, and symbols packages
Merge pull request #1333 from cleishm/cypher-compiler

Split Cypher compiler internals between 1.9 and 2.0 versions
Moving BigLabelStoreGenerator to shell/main to have it depend on lucene
Merge remote-tracking branch 'upstream/1.9-maint'

Conflicts:
	advanced/management/pom.xml
	advanced/neo4j-advanced/pom.xml
	advanced/pom.xml
	advanced/server-advanced/pom.xml
	community/cypher/pom.xml
	community/cypher/src/main/scala/org/neo4j/cypher/internal/compiler/v2_0/executionplan/builders/MatchBuilder.scala
	community/cypher/src/main/scala/org/neo4j/cypher/internal/compiler/v2_0/pipes/matching/PatternGraph.scala
	community/cypher/src/test/scala/org/neo4j/cypher/ExecutionEngineTest.scala
	community/cypher/src/test/scala/org/neo4j/cypher/SemanticErrorTest.scala
	community/cypher/src/test/scala/org/neo4j/cypher/internal/compiler/v2_0/pipes/PipeLazynessTest.scala
	community/cypher/src/test/scala/org/neo4j/cypher/internal/executionplan/builders/MatchBuilderTest.scala
	community/embedded-examples/pom.xml
	community/graph-algo/pom.xml
	community/graph-matching/pom.xml
	community/graphviz/pom.xml
	community/jmx/pom.xml
	community/kernel/pom.xml
	community/kernel/src/main/java/org/neo4j/kernel/impl/nioneo/store/DefaultWindowPoolFactory.java
	community/kernel/src/main/java/org/neo4j/kernel/impl/nioneo/store/PersistenceWindowPool.java
	community/kernel/src/main/java/org/neo4j/kernel/impl/storemigration/legacystore/LegacyDynamicStoreReader.java
	community/kernel/src/main/java/org/neo4j/kernel/impl/storemigration/legacystore/LegacyNeoStoreReader.java
	community/kernel/src/main/java/org/neo4j/kernel/impl/storemigration/legacystore/LegacyPropertyStoreReader.java
	community/licensecheck-config/pom.xml
	community/lucene-index/pom.xml
	community/neo4j-community/pom.xml
	community/neo4j/pom.xml
	community/pom.xml
	community/server-api/pom.xml
	community/server-examples/pom.xml
	community/server-plugin-test/pom.xml
	community/server/pom.xml
	community/server/src/test/java/org/neo4j/server/rest/IndexRelationshipDocIT.java
	community/shell/pom.xml
	community/udc/pom.xml
	cypher-plugin/pom.xml
	enterprise/backup/pom.xml
	enterprise/cluster/pom.xml
	enterprise/com/pom.xml
	enterprise/consistency-check/pom.xml
	enterprise/enterprise-performance-tests/pom.xml
	enterprise/ha/pom.xml
	enterprise/neo4j-enterprise/pom.xml
	enterprise/pom.xml
	enterprise/server-enterprise/pom.xml
	manual/pom.xml
	packaging/installer-linux/installer-debian/pom.xml
	packaging/installer-linux/installer-rpm/installer-rpm-advanced/pom.xml
	packaging/installer-linux/installer-rpm/installer-rpm-community/pom.xml
	packaging/installer-linux/installer-rpm/installer-rpm-enterprise/pom.xml
	packaging/installer-linux/installer-rpm/pom.xml
	packaging/installer-linux/pom.xml
	packaging/installer-qa/pom.xml
	packaging/neo4j-desktop/pom.xml
	packaging/pom.xml
	packaging/standalone/pom.xml
	packaging/standalone/standalone-advanced/pom.xml
	packaging/standalone/standalone-community/pom.xml
	packaging/standalone/standalone-enterprise/pom.xml
	pom.xml
Merge pull request #1332 from systay/compiler-modules

Add modules for Cypher compiler 1.9 and 2.0
Remove the reference node.