Take advantage of TestCase.settings.

It's available in Django >= 1.4.
Support DEFAULT_CHARSET != 'utf-8'. Fix #15.