Several TX changes

* Documented TX interface
* Spinlock now has stl-compatible naming
* prepareCommit now always locks