Update network connection methods

The adb shell `svc` commands are very flakey, especially on the emulator, so replace with an app. also add broadcasting of airplane mode changes.