Fix modem commands to work with ModemManager1.

This CL modifies the modem script to work with modems managed by both
cromo and ModemManager1.

BUG=chromium-os:33140,chromium-os:33158
TEST=Test modem commands on modems managed by cromo and ModemManager1.

Change-Id: I5607364bc191e3f6ca4482a3b3bf6fcb6fd99bfd
Reviewed-on: https://gerrit.chromium.org/gerrit/28964
Reviewed-by: Thieu Le <thieule@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
Commit-Ready: Ben Chan <benchan@chromium.org>
5 files changed