Fixed schemamigration method. Added new test method
Added "migrate" command
Added travis settings