switch away from deprecated setup_environ

- django.core.management.setup_environ has been removed in Django 1.6,
  django.conf.settings.configure is available since Django 1.4 and does
  the same