Fixed #22477 -- Removed contrib middleware from the global settings defaults.

Updated from https://github.com/django/django/pull/2591
This check was my least favorite part of this change. It feels odd to issue a warning for using the default. I never came up with a clever way to make this warning more meaningful/reduce false positives.