[minor] moved patch handler import into respective methods
Merge branch 'wsgi' of github.com:webnotes/wnframework into wsgi