Rewrote hooks for scheduler, notifications, boot, session, login, webpage webnotes/wnframework#351