Improve js written for guides

* Stop using unnecessary global variable
* Use function defined by jQuery for simplicity
* Fix event listner for "more info button" to handle
  event on resize browser
Add few information about missing steps [ci skip]

Add some deprecations previously note covered such as the confirm
option for the link_to helper or options which aren't needed anymore

Also add a mention about the config.assets.js_compressor option.
cookies are encrypted starting Rails 4
doc for more input tag types
Complete a sentence in i18n guide's introduction

Add a list of what will be covered into this guide
Removed params permit step from 5.6 section [ci skip]
Document where `column` param gets utilized in `substitute_at`.
[doc] fixed printing of code samples
Remove deprecated `Time#time_with_datetime_fallback`, `Time#utc_time`
    and `Time#local_time` in favour of `Time#utc` and `Time#local`
Merge pull request #11265 from vipulnsward/deprecated_time_methods

Remove deprecated `Time` methods
Add patch level to Ruby version information

Given the recent security related patches to ruby and rails it is more
important than ever to know what patch level you are running.
Merge pull request #11267 from TylerBrock/add-patch-level-to-info

Add patch level to Ruby version information
Grammar fix debugging rails applications [ci skip]
Merge pull request #11271 from ryancw/patch-3

Grammar fix debugging rails applications [ci skip]
Remove deprecated Logger core extensions (core_ext/logger.rb)
Fix ruby patch level example in rails docs regarding info page [ci skip]

Thanks @egilburg.
Remove deprecated `ActiveRecord::Generators::ActiveModel#update_attributes` in
    favor of `ActiveRecord::Generators::ActiveModel#update`
Merge pull request #11272 from vipulnsward/generator_update

Remove deprecated `ActiveRecord::Generators::ActiveModel#update_attribute`
Remove deprecated `DateTime.local_offset`
Remove deprecated `Module#local_constant_names` 

in favor of `Module#local_constants`