Potential for #7835.

Repopulate the app cache when INSTALLED_APPS is changed with
override_settings. This allows a test application to be integrated along
with models, views, and templatetags for the duration of a test.