Bug 904298 - Use CheckPermission to check for the desktop-notification permission. r=sicking