Ignored repeated calls to connection.close().

Forwardport of 9bbb43dd1a from stable/1.7.x
Prevented a crash in the cursor wrappers on Oracle.

Fixed #22483 (again).

Forwardport of 5cd6429620 from stable/1.7.x
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 PEP8 errors in compilemessages
Fixed #22328 -- Added --exclude option to compilemessages

Added --exclude option to compilemessages to enable exclusion of
specific locales.
Added unit tests for --exclude option of compilemessages

Refs #22328
Added documentation for --exclude option of compilemessages

Refs #22328
Added myself to AUTHORS file
Added --exclude option to makemessages

Added --exclude option to makemessages to enable exclusion of
specific locales.

Refs #22328
Added unit tests for --exclude option of makemessages

Refs #22328
Added documentation for --exclude option of makemessages

Refs #22328