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.
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
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