Use same property equality logic in tx-state.

When looking up indexed nodes from the transaction state, we need to do
the same type coercions of property values that we do when looking up
nodes from the committed indexes. This is done by using the equality
defined in DefinedProperty.

Along with this the coercions made in DefinedProperty have been made
more explicit, and comparisons between integral numbers and floating
point numbers have been made more strict, so that only exact comparison
is ever made.
Reduce probability of false failure of pageFaultForRead* test

The problem is that it can race with the optimistic "self-healing" of the cache
and therefor have a highly variable run time.

It would be better to stabilise the running time, but my attempts at doing that
have thus far only led to subtly breaking other things.
So this needs further investigation. In the mean time, this will break fewer
pull request builds.
Merge pull request #3104 from thobe/2.1-tx-lookup-type-coercion

[2.1] Ensure that we get the same index hits when looking up from tx state as when we look up from the committed index
Only reserve ids in reltype store, no other token store

since they just weren't built for it.
Merge remote-tracking branch 'upstream/2.1-maint'

Conflicts:
	community/kernel/src/main/java/org/neo4j/kernel/impl/api/StateHandlingStatementOperations.java
	community/kernel/src/main/java/org/neo4j/kernel/impl/api/state/TxStateImpl.java
Merge pull request #3143 from davidegrohmann/merge-2.1-into-master

Merge 2.1 into master
Merge pull request #3136 from chrisvest/2.2-reduce-test-flakiness

[2.2] Reduce probability of false failure of pageFaultForRead* test
Merge branch '1.9-maint' into 2.0-maint
Merge branch '2.0-maint' into 2.1-maint
Merge branch '2.1-maint'

Conflicts:
	community/kernel/src/main/java/org/neo4j/kernel/impl/store/TokenStore.java
Ability to persist counts durably.

This has not been wired in yet, the intention is to wire it in to store
on log rotation only.
Circumvent the PageCache for (stream) reading.

Since the PageCache only supports one cursor per thread, we cannot both
read through the PageCache and write through the PageCache when rotating
the CountsStore. As a workaround we read directly from the file system
when streaming through the source file during rotation.
Better error messages.
Integrate writing.
Reuse cursor during binary search.