Cosmetic cleanup of generated Gemfile

- Remove obsolete/misleading comment about assets only being used production
- Remove unnecessary group :assets
- Eliminate blank lines if options[:skip_javascript] is not specified
Remove buggy and unnecessary logic

based on a discussion with @rafaelfranca
Merge pull request #9955 from rubys/cleanup_app_gemfile

Cosmetic cleanup of generated Gemfile