#14170 -- Reset i18n cache when settings changed

See [ticket 14170](https://code.djangoproject.com/ticket/14170). The global state `_accepted` is now reset when `LANGUAGES` setting has been changed.

I needed to change `static.py` to work around circular import issues.