ActionController::Renderers documentation fix

ActionController::Renderers::RENDERERS is an instance of Set. Docs incorrectly
state that it's a Hash.
Unify the behavior of two `tld_length`
in `actionpack/lib/action_dispatch/middleware/cookies.rb`
and `actionpack/lib/action_dispatch/http/url.rb`.