Setup env and seed_loaded for DatabaseTasks outside load_config

Those vars can be used in tasks, which not call load_config.
ActionDispatch:SSL: don't include STS header in non-https responses
replace all older rocket sign to new ":" from examples of active record and active models
test-case to prevent regressions described in #10901.
Flag cookies as secure with ignore case in ActionDispatch::SSL
Fix `another_contract` not being used warning
Add CHANGELOG entry for #10971

[ci skip]

Conflicts:
	actionpack/CHANGELOG.md
test-case => failing
Fix shorthand routes where controller and action are in the scope

Merge `:action` from routing scope and assign endpoint if both `:controller`
and `:action` are present. The endpoint assignment only occurs if there is
no `:to` present in the options hash so should only affect routes using the
shorthand syntax (i.e. endpoint is inferred from the the path).

Fixes #9856
Clarify what arguments are passed to redirect blocks - fixes #11056
remove trailing whitespace from Active Record CHANGELOG
Fixing  Issue #11083

Removing other occurrences of `the` appearing twice