generate subcommand and migration implementation

This adds a generate subcommand and implements generating migrations.

Closes #6.
Merge pull request #16 from redding/kr-generate

generate subcommand and migration implementation