Add default attributes to migrations

This commit

- adds the default attributes to the generated migrations
- fixes jshint compatibility of the generated migrations
- change the `.complete` handler to `.done`
- fixes #33