Changed order of middleware classes as suggested by Django i18n

See https://docs.djangoproject.com/en/1.5/topics/i18n/translation/#how-django-discovers-language-preference for details