Fixes related to appification
Merge branch '4.0.0-wip' of github.com:webnotes/wnframework into 4.0.0-wip