Update new_generator.rb

Altered inject_into_file_source and class_option to fix "rails generate ..."