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]