Fixed #23071 -- Use last migration's name in dependency to other app

Changed the autodetector to lookup the name of the other app's last
migration in the graph and use that as dependency instead of using
__latest__.
Fixed typo in docs/ref/contrib/admin/index.txt.
Added warning in tutorial 4 that the regex capture group name has changed.
Adapted SpatialiteGeometryColumns model to spatialite >= 4

See also:
https://www.gaia-gis.it/fossil/libspatialite/wiki?name=switching-to-4.0
Fixed #23030 -- Properly handled geometry columns metadata during migrations

Thanks kunitoki for the report and initial patches.
Fixed #23078 -- Regression in update_contenttypes() interactivity.

Thanks raymond at adaptiv.nl for the report.
Fixed #22891 -- Clarified that collecstatic --clear with delete all files in the storage location.
Added backwards incompatibility note for refs #22845; refs #23082.

Thanks Kyle Owens for the report.
Removed usage of deprecated switch_to_*() selenium methods.
Improved patching of sys.stdout in refs #23078.
Silenced OptionParser deprecation warning in a test.
Silenced a Python 2 ImportWarning in a migrations test.
Corrected headings in migration docs.
Silenced test warning for deprecated IPAddressField.
Fixed #23094 -- Removed redundant argument in select_related() example.

Thanks thegeekofalltrades at gmail.com for the report.
Fixed #21707 -- Added helpful error message when using {{ block.super }} in base template.

Thanks mitar for the suggestion.
Fixed #23014 -- Infinite migration regression with unique/index_together.
Fixed #22849 -- Added Session.__str__()
Forward ported release notes for refs #23089.
Fixed #23088 -- Used `six` `range` type in `Paginator.page_range`.