Fixes #96 #109

a quick stab at porting over rails migration generators.

still need to port over the specs.
Please delete these tests if you don't want to run them.  Maybe there are other tests that can take their place...