Add monitor to NamedThreadFactory, so we can track what component created what nr of threads and when.
Merge branch 'master' into threadmonitors

Conflicts:
	community/kernel/src/main/java/org/neo4j/kernel/InternalAbstractGraphDatabase.java
Accurately report cache sizes before and after purge.

This fixes a merge resolution mishap that occurred in 178be5393fcfaf860c72ba2b9f26acc05b621375.

Also property state units, it's bytes (B) not bits (b), and report kiB when claiming to do so, not MiB.
Merge pull request #2740 from thobe/2.0-cache-purge-statistics

Accurately report cache sizes before and after purge.
Remove neo4j-support-upload utility
Move consistency-check module from enterprise to community
Small cleanup
Add store consistency checks to store migration tests

o small cleanups and refactors
Remove additionnal dependencies from the javadocs config.
Merge pull request #2759 from nawroth/additionnal-dependencies

Remove additionnal dependencies from the javadocs config.
Fix for 'Cluster is not operational' issue
Don't skip relationships in the cache on rollback.

When loading relationships for a node, and the relationship chain
has been partially loaded, it was possible for another transaction
to make modifications to the next relationship to be loaded for
that node, but without loading it through that node (by loading it
through the other node of that relationship). If that transaction
rolled back it would make the cache skip loading that relationship.
Fixed possible NPE during serialization
Merge pull request #2769 from thobe/1.9-partial-relchain-load

Don't skip relationships in the cache on rollback.
Merge pull request #2730 from davidegrohmann/2.1-consistency-check-upgrade-tests

Add store consistency checks to store migration tests
Merge pull request #2767 from lutovich/2.1-cluster-is-not-operational

Fix for 'Cluster is not operational' issue
Merge pull request #2772 from lutovich/2.1-possible-npe-fix

Fixed possible NPE during serialization
Removed a System.out and some unnecessary imports
Removed a TODO from a log statement
Merge branch '1.9-maint' into '2.0-maint'.

Conflicts:
	community/kernel/src/main/java/org/neo4j/kernel/impl/nioneo/xa/WriteTransaction.java
	community/kernel/src/test/java/org/neo4j/kernel/impl/core/TestConcurrentModificationOfRelationshipChains.java

Moved changes in WriteTransaction to NeoStoreTransaction.
Updated TestConcurrentModificationOfRelationshipChains to use
transactions for read operations, and to use try-with-resource.