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
nit: could you please also replace with spaces tab symbols below and align content correctly? :)