Moved a lot of tx code to work with Neo4j 2.0