Fixed #23259 -- Corrected insertion order of extra() select_params

A regression caused queries to produce incorrect results for cases where
extra(select) is excluded by values() but included by extra(order_by)

The regression was caused by 2f35c6f10fcbae541691207fb0c0560a13b754fc.
Fixed #23266 -- Prevented queries caused by type checking lookup values

Small modifications done by committer.
Fixed #16426 -- deletion of 1000+ objects with relations on SQLite

SQLite doesn't work with more than 1000 parameters in a single query.
The deletion code could generate queries that try to get related
objects for more than 1000 objects thus breaking the limit. Django now
splits the related object fetching into batches with at most 1000
parameters.

The tests and patch include some work done by Trac alias NiGhTTraX in
ticket #21205.
Fixed #23267 -- Fixed typo in Translation documentation

Thanks to Tomin1 for the report.
Fixed #23261 -- Deprecated old style list support for unordered_list filter.
Fixed typo in 1.8 release notes.
Added a warning that remove_tags() output shouldn't be considered safe.
Added words to spelling wordlist.