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
Nope, agree with you, ideally we shouldn't expose anything for test-only purpose