Transaction

The transaction support for the neo4j server will improve with this PR.
Fixed problem with querying using a label inside a transaction.