Check db/migrate/ instead of schema.rb

This avoids the problems with schema_format :sql. Fixes #57, #59 and #74.
Merge branch 'patch-1' of github.com:chuckd/mina