Update esp.wsgi to use django.core.wsgi public API

Resolves #1242.