updates wsgi file to work with both built-in devserver and mod_wsgi.