Made sure cursor.close() does not complain if cursor is already closed on Oracle

Refs #22483
Fixed #22498 -- constraint name was not quoted in FK creation SQL
Set some transaction-related feature flags on SQLite.

Refs #22496.
Fixed #22515 -- Fixed the object_id of the LogEntry that's created after a user password change in the admin.

Thanks ross at servercode.co.uk for the report.
Fixed #22493 - Added warnings to raw() and extra() docs about SQL injection

Thanks Erik Romijn for the suggestion.
Fixed #22422 -- Moved information about the application loading process to refs/applications.txt.
Fixed #22504 -- Corrected domain terminology in security guide.

Thanks chris at chrullrich.net.
Fixed a confusing heading in applications docs.

Refs #22422.
Fixed #22517, "view prefix" still referenced in urlconf docs
Fixed #21166 -- Reset errors_occurred flag after commit and rollback.
Fixed #22507 -- Clarified nature of the sender argument of signals
Fixed #22328 -- Added --exclude option to compilemessages and makemessages.
Sycned .hginore with .gitignore.
Updated doc links to point to Python 3 documentation
Specified 'csv and unicode' note as Python 2 only
Fixed #3214 -- Stopped parsing SQL with regex.

Avoided introducing a new regex-based SQL splitter in the migrations
framework, before we're bound by backwards compatibility.

Adapted this change to the legacy "initial SQL data" feature, even
though it's already deprecated, in order to facilitate the transition
to migrations.

sqlparse becomes mandatory for RunSQL on some databases (all but
PostgreSQL). There's no API to provide a single statement and tell
Django not to attempt splitting. Since we have a more robust splitting
implementation, that seems like a good tradeoff. It's easier to add a
new keyword argument later if necessary than to remove one.

Many people contributed to both tickets, thank you all, and especially
Claude for the review.

Refs #22401.
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.