[minor] fixed globals and patch for wsgi migration
[minor] [fixes] app.py, view in website button, test runner
Merged master into wsgi
Merge branch 'wsgi' of github.com:webnotes/wnframework into wsgi