Add batch inserter util for SQLite
Created by: efritz
This PR adds a batch inserter for SQLite, which improves bulk insertion latency by 50% (see benchmark tests and comments). This will be used by the precise-code-intel worker and may also be useful for the symbol service in the future.
This partially implements https://github.com/sourcegraph/sourcegraph/issues/9965.