Upgraded generator_spec for cleaner example group declaration.
Renamed source control keep files.

This keeps in line with Rails since https://github.com/rails/rails/pull/7614.
Injected Refinery into routes agnostic of how the application is declared in the routes file.
Replaced File.open ... do with File.read/write.
Merge pull request #2582 from gwagener/generator_fixes

Generator fixes