Bring the SQLite driver up to speed

Addresses #353.

:tangerine: