Add tmp/ to gitignore
Add generator_spec gem
Add basic coverage for generator
Fix ActiveRecord errors in Rails 4+ within generators