Fixed #20550 -- Added keepdb argument to destroy_test_db
Rewrote migration autodetector to involve actual computer science.

Fixes #22605, #22735; also lays the ground for some other fixes.
Prevent operation pollution by later operations of fields
Fixed #22773 -- Forced templatize() to return unicode
Merge pull request #2764 from gchp/ticket-20550

Fixed #20550 -- Added keepdb argument to destroy_test_db
Fixed flake8 errors.
Added formatting and line wrapping to checks reference doc.
Removed duplicate "Deprecated in Django A.B" text in docs.

sphinx 1.2+ adds this text itself.
Fixed #22772 -- Defer wizard temporary files deletion.
Fixed #3711, #6734, #12581 -- Bounded connection.queries.

Prevented unlimited memory consumption when running background tasks
with DEBUG=True.

Thanks Rob, Alex, Baptiste, and others.
Fixed #17238 -- Added source code links to docs using sphinx.ext.viewcode.

Thanks santiagobasulto for the suggestion.
Fixed #18314 -- Corrected request.build_absolute_uri() handling of paths starting with //

``HttpRequest.build_absolute_uri()`` now correctly handles paths starting with ``//``.
``WSGIRequest`` now doesn't remove all the leading slashes either,
because ``http://test/server`` and http://test//server`` aren't the same thing
(RFC2396).

Thanks to SmileyChris for the initial patch.
Made a test compatible with Python 2 and 3.
Fixed #17427 -- Removed dubious definition of connections equality.
Fixed test again. Refs #12581.
Fixed #6992 -- Improved error when middleware omits HttpResponse.

Thanks guettli for the report.
Simplified module_has_submodule on Python >= 3.3.

Stopped using the imp module on Python >= 3.3. Refs #21628.
Fixed #20815 -- Don't enforce unbuffered I/O on Python 3.

No test because this code is already deprecated (part of FastCGI support).
Tested pluralization of decimals.

Refs #16723.
Silenced some GIS deprecation warnings; refs #22384.