Used Apps.clear_cache() in tests that alter the app registry.
Changed sql_* to use an app config instead of a models module.
Changed get_migratable_models to use an app config.
Changed get_validation_errors to use an app config.
Deprecated the app argument of apps.get_models.

Use app_config.get_models() instead.
Stopped calling get_models() for a side effect.