Bug 1051795 - [CMAS] Handle the setting that enables/disables CMAS alerts

- Add settings permission and check the CMAS option before opening attention screen.
- Use Notification helper and mozApp to get icon url instead of using hard-coded string.
- Fix some error in Bug 1051793
Heh, ok then, will revise it later if needed :)