Reinstate the datastore flush at exit fix
Because the DJANGO_SETTINGS_MODULE needs to be set by the apps wsgi handler, that app should import application from here, and app.yaml should point at the app's wsgi handler
Merge branch 'master' of https://github.com/potatolondon/djangoappengine-1-4