Do a store copy on join when there are no log files for the latest transaction.

I tried writing a test for this, but SwitchToSlave is hard to write tests for,
so the fix is provided without one.
Fix do not expose getCsvIterator in spi.v2.0.QueryContext since it is not supported
Ensure transactional endpoint responds with an https location for https calls.
Merge pull request #2498 from jakewins/2.0-https

Transactional endpoint replies with https URIs on HTTPS requests
Merge pull request #2510 from davidegrohmann/2.0-fix-spi-querycontext-nocsv

Do not expose getCsvIterator in spi.v2.0.QueryContext
Merge branch '1.9-maint' into 2.0-merge-1.9

Conflicts:
	community/kernel/CHANGES.txt
	community/kernel/src/test/java/org/neo4j/kernel/impl/transaction/RWLockLeakTest.java
	enterprise/cluster/src/main/java/org/neo4j/cluster/protocol/atomicbroadcast/multipaxos/MultiPaxosContext.java
	enterprise/cluster/src/test/java/org/neo4j/cluster/protocol/atomicbroadcast/multipaxos/MultiPaxosServer.java
	enterprise/ha/src/main/java/org/neo4j/kernel/ha/HighAvailabilityConsoleLogger.java
	enterprise/ha/src/test/java/org/neo4j/ha/TestPullUpdatesApplied.java
	manual/pom.xml
	packaging/standalone/standalone-advanced/src/main/distribution/text/advanced/CHANGES.txt
	packaging/standalone/standalone-community/src/main/distribution/text/community/CHANGES.txt
	packaging/standalone/standalone-enterprise/src/main/distribution/text/enterprise/CHANGES.txt
Merge pull request #2531 from chrisvest/2.0-merge-1.9

2.0 merge 1.9
Prohibit using more than one hint per identifier
Implement ThirdPartyFileSystem for the AdversarialFileSystem
Layout fixes for the manual.

* Resize the logo to fix rendering in Firefox.
* Wrap the book title in a separate element for styling.
* Make the version switcher less confusing.
* Default to hide the TOC on smaller screens.
Merge pull request #2558 from nawroth/manual-layout

 Layout fixes for the manual.
Add support for hexadecimal literals

Resolves #2564
Merge pull request #2566 from cleishm/hexadecimal-literals

Add support for hexadecimal literals
Merge pull request #2398 from chrisvest/2.0-fix-pulling-updates-without-logs

Do a store copy on join when there are no log files for the latest trans...
Merge pull request #2543 from chrisvest/2.0-adversaries-3rd-party

2.0 adversaries for ThirdPartyFileSystem
Backport: Speed up consistency checking of non-constraint indexes

This improves the time complexity for consistency checking of normal non-constraint schema
indexes from an O(n^2) to O(n).

This is especielly noticable when many nodes are indexed by the same
<label,propertyKey,propertyValue> tuples.

The old code would go over all the nodes that were supposed to be indexed, and then for
each of those nodes, do a lookup on the propertyValue, and then iterate through the result
set of that look up, looking for the nodeId in question. This is obviously an oh-n-squared
amount of work, if all the nodes are indexed with the same property value.

The new code do an exact lookup for the combined <nodeId,propertyValue> in the given
<label,propertyKey> index. For our purpose, we consider this a constant cost, and so our
work now ends up being oh-n.

Conflicts:
	community/kernel/src/test/java/org/neo4j/kernel/impl/api/index/inmemory/UniqueInMemoryIndexReader.java
Merge pull request #2578 from chrisvest/2.0-backport-faster-consistency-checker

2.0 backport faster consistency checker
Do a store copy on join when there are no log files for the latest transaction.

I tried writing a test for this, but SwitchToSlave is hard to write tests for,
so the fix is provided without one.
Fix GC overhead of XidImpl

- Only allow equality of XidImpl instances, not the Xid interface,
  reasoning being that hashCode cannot be equal to other xid impls since
  there is no standard, and getting a xid that isn't a xidimpl is an error,
  since the xids come from our tx manager, we do not manage other xids.

- Don't copy the branchID and globalId arrays on every equaylity check
Updates changelogs for 1.9.8