Prepopulate sqlite database.

This version is slightly less brittle than @peterjc's initial attempts because when used this way, the database should auto-update on startup as new revisions are committed.
Update Travis to test against my ongoing efforts to improve functional test framework.