sqlite: Benchmark applying BEGIN and END transaction optimizations

This benchmark applies the BEGIN and END transaction optimizations. This allows the journaling file to be written once.

For more details:

https://github.com/gosexy/db/issues/20#issuecomment-20167939