Wait for ready event before considering compact complete.
More assertions in compact test.
Add db v4 migration.
Merge pull request #615 from mapbox/migrate-db-v4

Add db v4 migration
Merge branch 'master' into new-from [skip ci]
Use 1.0.0 of mapbox-studio-default-source