TxManager used to commit/rollback transactions
Merge pull request #3295 from lutovich/2.0-lock-release-during-db-shutdown

[2.0] TxManager used to commit/rollback transactions
Consider all possible result types from `CASE`

Rather than finding the leastUpperBound between all the different
expression types, consider them all as equal possibilities.
Merge commit '4d0c1e24d2c660891b656ec25405baf3d33677be' into merge-2.0-to-2.1

Conflicts:
	community/kernel/src/main/java/org/neo4j/kernel/TopLevelTransaction.java
Merge pull request #3316 from lutovich/merge-2.0-to-2.1

Merge 2.0 to 2.1
Merge remote-tracking branch 'upstream/2.0-maint' into 2.1-maint

Conflicts:
	community/cypher/cypher-compiler-2.1/src/test/scala/org/neo4j/cypher/internal/compiler/v2_1/ast/CaseExpressionTest.scala
	community/cypher/cypher/src/test/scala/org/neo4j/cypher/FunctionsAcceptanceTest.scala
Make sure DbHits and Rows are reported accurately.
Merge commit '96043202414032c491d3022f816296cbb3e1b064' into merge-2.1-to-master

Conflicts:
	community/kernel/src/main/java/org/neo4j/kernel/TopLevelTransaction.java
	community/kernel/src/main/java/org/neo4j/kernel/impl/transaction/TxManager.java
	community/shell/src/test/java/org/neo4j/shell/ShellDocTest.java
Merge pull request #3319 from lutovich/merge-2.1-to-master

Merge 2.1 to master
Merge pull request #3313 from systay/apply-profile-bug

Make sure DbHits and Rows are reported accurately.
Merge remote-tracking branch 'upstream/2.1-maint'
Moved CypherVersion from compiler to the Cypher top module
Move PlanDescription et al to the Cypher top-module
moving CypherException from compiler to top lovel module