Bug 874043 - airplane mode allert when sending sms

fixes

cleaning

cleaning

lint fix

test fix

lint error fix
Merge pull request #10094 from michalbe/airplane-mode-sms

Bug 874043 - airplane mode allert when sending sms r=julienw