Notifications module

Refactor RESUtils.notification() into modules['notifications'].showNotification and bring its cronies along for the ride.