added "mark all as read" for Notifications
- refactored notifications js into pub/sub modules to make things more loosely coupled
- added html helper for hiding html conditionally
split up notifications js