Avoid duplicating routes for HEAD requests.

Follow up to rails#15321

Instead of duplicating the routes, we will first match the HEAD request to
HEAD routes. If no match is found, we will then map the HEAD request to
GET routes.
Improve router test.

We should assert that routes will not be recognized if the verbs do
not match.
Merge pull request #15443 from tgxworld/preload_head_routes

Map HEAD requests to GET routes instead of duplicating GET routes.
Fix some issues in 4.2 release notes.

Remove duplicate line in Railties.

[ci skip]
Merge pull request #16608 from GRoguelon/fix_issues_in_4_2_release_notes

Fix some issues in 4.2 release notes. [ci skip]
Merge pull request #16607 from tgxworld/upgrading_guide_pass

Upgrade guide pass. [CI SKIP]
[ci skip] Clarify Action Mailer/Active Job usage note
Merge pull request #16612 from loganhasson/master

[ci skip] Clarify Action Mailer/Active Job usage note
Make text consistent in help text of rails server and console commands.
Guide fix. [CI SKIP]

Related: https://github.com/rails/rails/pull/16607
adding the exception RecordNotFound to UUID find
[ci skip] Added documentation for has_one scope parameter
Merge pull request #16615 from tgxworld/guide_fix

[ci skip] Grammar fixes for upgrade guide from 4.0 to 4.1
Merge pull request #16617 from tomkadwill/added_has_one_scope_documentation

[ci skip] Added documentation for has_one scope parameter
Merge pull request #16204 from jonatack/patch-7

Fix minor typos and improve grammar and code formatting
Merge pull request #16271 from alol/action-view-overview-guide-tweaks

Small Action View Overview guide grammar and readability tweaks
Add change to ActionView Notable changes [ci skip]
Merge pull request #16621 from Calyhre/patch-1

Update documentation, Add change to ActionView Notable changes
Don't fight against ourselves for the default log level

If we want to always default to :debug, let's just do that.

At which point the production.rb entry can become an "uncomment to
change" instead.
applies API guidelines to new AM docs