BATCH-2163: Add support for SQLite.

Adds a DatabaseType, scripts, a DataFieldMaxValueIncrementer and
a PagingQueryProvider for SQLite.

Implemented on 2.2 branch, but also cherry-picks without conflicts onto master and builds ok there too.