Implementation of transactions. The idea is to work like:
$con->begin_transaction();
$con->query();
$con->query();
$con->commit();
$con->end_transaction();
I'm not sure if end_transaction should call commit().
This depends on http://reviews.lunr.nl/r/16/