TryGhost/Ghost — pull request #3149 by kevinansfield (2014-06-29 21:51:28+00:00)
Title: Persistent notifications

closes #3057
- add Notification model
- update injected Notifications object to handle persistent notifications
- load server notifications on setup if logged in otherwise on successful sign-in
- changed all notifications.closeAll calls to closePassive
- close all notifications on sign out

Known issues:
- Needs tests
- The check for a logged in user in the 'loadServerNotifications' action will need updating once #3060 lands