[minor] fix startup errors for new app
[minor] fix install of new app
[minor] handle case for no app notifications
[minor] return login page if no app or no home page in app
[minor] [js] no notification count if no module doctypes
[minor] fix search widget for no startup standard queries
Merge pull request #253 from pdvyas/fw-cleanup

Framework cleanup (to make new apps)