Tests for the migration procedure, initial version
Added more tests
Changed a docstring into a comment
Addressed Matteo's concerns in https://github.com/gem/oq-engine/pull/1499
Moved the comments close to the tables
Merge pull request #1499 from gem/db-migrations-2

Db migrations 2