Bug 894388 - Fix errors during startup in B2G desktop

Fix for [#894388](https://bugzilla.mozilla.org/show_bug.cgi?id=894388). Fixes a bunch of reference errors when no mobileConnection object is present.