Added tests and minified javascript missing in 83a3add4bed8d8d49f93b30c817c66908b0a26ba.

Refs #22038.
Added some tests for #21725.
Fixed test failures when running in a narrow Python build.
Deprecated django.utils.text.javascript_quote.

Refs #21725.
Fixed #22007 -- Fixed cbv docs - make imports consistent

Thanks to trac user kinjal.dixit for the report.
Fixed #21435 -- Improved error message when urlconf is empty.

The new error message now hints that the most likely issue
is a circular import.

Thanks to trac user elena for the report and to
bpeschier for the original patch.
Merge remote-tracking branch 'upstream/master'