Adding fixes for hosting with WSGI.
Adding wsgi profile file.