Make sure we use integers for targetVersion and baseVersion.

Without this, _.max() will compare strings and migrations like 09-10.sql will never work
Merge pull request #1 from llambeau/master

Make sure we use integers for targetVersion and baseVersion.