Added support for the transactional API

It is automatically enabled for servers that expose a /db/data/transaction endpoint.

# TODO
* fix performance tests (both client and server hang)
* Expose the transactionality in a sensible way.
* fix version issue