added appfog compatibility trough wsgi.py