Use sqlite3 gem, wrap inserts in transaction

On master, `time rake docset:reindex` -- real    5m27.159s

On this branch, `time rake docset:reindex` -- real    0m1.661s

(Most of the speedup here is from rolling all of the searchIndex inserts
into a single transaction, not from switching to the ruby gem).