Prepopulate sqlite database during @travisci tests.

This version is slightly less brittle than @peterjc's initial attempts because when used this way the database should auto-upgrade from version 117 on startup as new revisions are committed.