Fix docstring typo, cleaner imports.
Thread-safe client and transactions.
Move client code into its own module.
Fix docstring.
Document transaction support.
Ensure transaction state is cleaned up on exception.
README tweak