[1.7.x] Fixed #22487: Don't flush out data from before normal TestCases
[1.7.x] Fixed #22889: Unneeded to_field in fk.deconstruct causing swap issues
[1.7.x] Fixed #22708: Typo in autodetector base dependency gen
[1.7.x] Fixed #22880 -- Added FAQ entry about UnicodeDecodeError

Thanks Víðir Valberg Guðmundsson for the report and
Tim Graham for the review.
Backport of 460ec09d2e from master.
[1.7.x] refs #22487: Don't flush out data from before normal TestCases (spatialite)
[1.7.x] Fixed #22796 -- Added a more basic explanations of forms.

Thanks bmispelon, kezabelle, jorgecarleitao, and timgraham for reviews.

Backport of cd20b5d186 from master
[1.7.x] Fixed typo in middleware docs.

Function definition should have an ending colon.

Backport of 48241ec9c4 from master