Fix for sqlite transactions failing

There is no support for BEGIN TRANSACTION statement on
webkit sqlite implementation. We should not use transactions
on these implementations.