Add rudimentary migration testing

We start at version 0 and apply each migration one at a time.

bp db-migration-testing

Change-Id: If098d9baeca4c58e19b23fac69bcb48a3d6c072a
Merge "Add rudimentary migration testing"