Add Database::beginTransaction

To use DB update transactions $GLOBALS['smwgUFeatures'] requires
the SMW_TRX_UPDATE flag.