Added support for transactions

As seen in https://github.com/catfan/Medoo/issues/147