Bug 940188 - Do checking before using IccHelper and mozMobileConnection

There is no mozMobileConnection and mozIccManager in flatfish, so we do checking their existence before invoke function or using property of them.

https://bugzilla.mozilla.org/show_bug.cgi?id=940188