make sure the migration name is correct

if someone use special character like '-' to generate migration,it will generate a migration file with wrong PHP class name and cause a bad execution.hope this pr can fix this problem.:) [more about the regular expression of class name](http://www.php.net/manual/en/language.oop5.basic.php)