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 `DateTime.local_offset`
Remove deprecated `Module#local_constant_names` 

in favor of `Module#local_constants`
Remove deprecated `String#encoding_aware?` 

core extensions (`core_ext/string/encoding`).
Merge pull request #11273 from arunagw/deprecation-removed

Deprecation removed
Fixed test broken by local_constant_names 

depreciation removed
keep a cache of the reader methods so we can reuse them
move the reader method cache in to the read module
keep a cache of writer methods
Merge pull request #11276 from arunagw/build-fix

Fixed test broken by local_constant_names
refactor the method cache objects to have a superclass
remove deprecated `PostgreSQLAdapter#outside_transaction?` method.
cleanup, remove trailing whitespace from guides/CHANGELOG