[1.7.x] Fixed #23097 -- Switched to new octal format in docs

Backport of e1c85167a3 from master.
[1.7.x] Fixed #22887 -- Added comment for translators on unique_for_date error message

Backport of 6eed751162 from master.
[1.7.x] Added test for the #23070 problem

Backport of e569144910e336d2f76a3a31998ec672377d31cc from master.
[1.7.x] Fixed code to solve #23070 problem

Added a class to wrap callable in settings:
* Not to call in the debug page (#21345).
* Not to break the debug page if the callable forbidding to set attributes (#23070).

Thanks @bmispelon for giving me some advice.

Backport of d0889863de50d65659f56f0b9ea0672a8b6482a1 from master.
[1.7.x] Fixed #22305 -- Added note to docs about UTF8 database requirement.

Backport of 08b85de9b7 from master
[1.7.x] Fixed #22553 -- Added refreshing queryset info to docs.

Backport of 6d5daa30cf from master
[1.7.x] Fixed #23060 -- Prevented UnicodeDecodeError in debug templatetag

Backport of 08451f17d0 from master.
[1.7.x] Fixed #22944: Bad dependency on FK alteration in autodetector
Fixed #23101 db_table wasn't copied in deconstruct
Merge pull request #2977 from abrahammartin/stable/1.7.x

Fixed #23101 db_table wasn't copied in deconstruct
[1.7.x] Fixed #23106 -- Updated class-based view reference title.

Backport of f14898a453 from master