Prevent from running empty migrations
Close file properly
Fix invalid? method

Return true when the file is empty
Fix & Refactor

- Validate on run_all_migrations method
- Create a Migration class
Merge pull request #8 from basgys/master

Prevents running empty migrations