Tidy up some of the transaction documentation.

I've reworded some parts of the atomic description and made one of the
examples a little easier to understand.

cc @aaugustin