Add 'check' command to see if migrations need to be run.
Support `require`ing an arbitrary module before loading migrations.

This allows loading any type of module, as long as it is registered in
that module.