Lots of TX cleanups, moving Neo4j->TP transactions.

Additional TX debug added, along with general REST interface cleanups.