Add Begin&End Transaction optimizations.
Merge pull request #22 from wei2912/master

sqlite: Benchmark applying BEGIN and END transaction optimizations