[1.7.x] Fix router_honored test to not close connection
[1.7.x] Fixed #22487: Optional rollback emulation for migrated apps

Conflicts:
	django/db/backends/creation.py
	django/test/runner.py
	docs/ref/settings.txt
	docs/topics/testing/advanced.txt
[1.7.x] Fix broken alias testing test

Conflicts:
	tests/test_runner/tests.py
[1.7.x] Fixed formtools tests with Python 2

Fixes #19905 again.
Backport of 1aaf4053f5 from master.
[1.7.x] Added missing deprecation note for fastcgi in 1.7 release notes; refs #20766.

Backport of 67ce2e74e1 from master
[1.7.x] Fixed flake8 errors.

Backport of 4b25ebf112 from master
[1.7.x] Doc edits for refs #22487.

Backport of c17cd151d8 from master
[1.7.x] Remove overzealous migration flushes from migration test suite
[1.7.x] Added rollback emulation to spatialite backend; refs #22487.

Backport of 6b97ae3521 from master
[1.7.x] Simplified handling of use_debug_cursor.

Turned it from a tri-valued boolean into a regular boolean.

Backport of 127218b9 from master.
[1.7.x] 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.

Backport of 40bfd856 from master.
[1.7.x] Removed unused import.

Backport of fea8ccdcc4 from master