Fail tests if there are pending migrations

Otherwise it's possible to make changes to models and not realise
they require a database migration.

https://www.pivotaltracker.com/story/show/77272050 [Delivers #77272050]
Merge pull request #73 from sealevelresearch/fail-tests-on-pending-migrations

Fail tests if there are pending migrations