Fix router_honored test to not close connection
Fixed #22487: Optional rollback emulation for migrated apps
Fix broken alias testing test
Converted Django scripts to argparse

Refs #19973.
Fixed formtools tests with Python 2

Fixes #19905 again.
Added missing deprecation note for fastcgi in 1.7 release notes; refs #20766.
Tweaked order of create_test_db arguments for backwards compatibility.

Since `serialize` was backported to 1.7, it should appear before `keepdb`.
Removed extras/csrf_migration_helper.py
Fixed flake8 error.
Doc edits for refs #22487.
Remove overzealous migration flushes from migration test suite
Added rollback emulation to spatialite backend; refs #22487.
Simplified handling of use_debug_cursor.

Turned it from a tri-valued boolean into a regular boolean.
Fixed #20420 -- Normalized query counts on Oracle.

This is achieved by inserting a fake entry in connection.queries when
not releasing a savepoint (since Oracle doesn't support that operation.)

Also removed the can_release_savepoints feature that was recently added,
but is superseded by this solution.
Dropped support for SpatiaLite < 2.4.
Removed unused import.