Fix many many typos in comments throughout the codebase
Documented django.setup().

Thanks Eric Holscher and Tim Graham for the review.
Fixed #22526 -- Added note about check() method to 1.7 release notes.

Thanks kevin-brown for the report.
Improved formatting and links of migration docs.
Fixed #22445 -- Added how to perform a reverse data migration to topic guide.

Thanks Karen Tracey for the report.
Fixed #22497 -- Highlighted difference between field and class deconstruction.

Thanks nliberg for the suggestion.
Fix a typo in logging.txt
Merge pull request #2613 from azalea/patch-2

Fix a typo in logging.txt
Fixed #22254 -- Noted the requirement of calling django.setup() when running

Thanks Peter Landry for the report.
Revert "Fixed #15179 -- middlewares not applied for test client login()"

This reverts commit 4fdd51b73240bf9c8d9472fcc45df699f0714755.

See the ticket for concerns with this implementation; it will be revisited.
Added dates to release notes of today's release.
Added stub release notes for 1.6.5.
Fixed #22523 -- Clarified pytz requirement.

Thanks z for the report and timo for the proposal.
Removed bogus, ineffective 'U' flag from codecs.open() call.
Use the new implementation of `six.with_metaclass`.

No more `NewBase` horrors.

Thanks to bendavis78 for his work on merging this into six.
Fixed #22447 -- Make sure custom model bases can be migrated.

Thanks to cdestigter for the report.
Fixed #22511 -- Added args to migrations management commands.
Removed unused import.
Fixed #22442 -- Provided additional documentation regarding id fields clashing.

Thanks benjaoming for raising the issue and Loic for the examples.
Fixed #22537 -- Add tests and improved docs for field subclass with choices.