Bug 847566 - Shims for mozSetMessageHandler and mozNotification