Makes network mode toggle work. Port from CM7.

Added LTE_ONLY needed code to PhoneToggler.
Added LTE to the double check MODE_GLOBAL condition.

Tested-by: Rick C
Tested-by: Emerson Pinter
Signed-off-by: Emerson Pinter <dev@pinter.com.br>

*** Settings.java and PhoneToggler.java original authors:

commit 3e6b2ca4c969aedeefa9a10bb85e9c52bc43a574
Author: Emilio López <turl@tuxfamily.org>
Date:   Wed Sep 14 23:50:06 2011 +0000

    Phone: Double check mode before changing, part 2

    A modem might report world phone mode when it really is only GSM or
    CDMA capable, making the system switch to an invalid mode which
    will later break the telephony code.
    This simple check enforces the world phone overlay which is already
    in place and will only consider it a correct value in that case.

    This complements a commit with the same title by applying the same
    logic to another code path that uses similar checks.

    Change-Id: Ib7332511a693d40f53a79ba98844c9117871228a

commit 19215c8f614e30211b2aca1512bb8444da55bdda
Author: Emilio López <turl@tuxfamily.org>
Date:   Wed Sep 14 23:50:06 2011 +0000

    Phone: Double check mode before changing

    A modem might report world phone mode when it really is only GSM or
    CDMA capable, making the system switch to an invalid mode which
    will later break the telephony code.
    This simple check enforces the world phone overlay which is already
    in place and will only consider it a correct value in that case.

    Change-Id: Iedbc529497b2779f3a12ff56ca1b028cc9434227

commit 0d396f79514173e06c5334a40f23090933e0a806
Author: piaf <piaf@mediacenter-desktop.(none)>
Date:   Tue Aug 3 00:56:09 2010 +0100

    Added permission control for the 2G/3G switch

commit 5c85d5417a67b02be895a8878c7fa86bc992cd8e
Author: Mediacenter <mediacenter@mediacenter-desktop.(none)>
Date:   Sat Jul 31 01:45:03 2010 +0100

    Added support for Changing Phone network mode
    Todo: Add permission control

*** Translations original authors:

commit e26b7ba0136e34de8737fa962f5a1cd79dffecb0
Author: Hep Happy <hephappy@gmail.com>
Date:   Tue Feb 7 19:27:02 2012 +0200

    Phone: tr: CM Turkish Translations

    Change-Id: I8555f71cdaf3fbbfbc4b0ac84c9e5a93829c33bd

commit 60b4bee4a3e03e580981ee080e57c088e64c017e
Author: Ondrej Zima <keltuv.email@gmail.com>
Date:   Tue Jan 10 13:09:48 2012 +0100

    Czech: fixed translation, added missing strings

    And removed untranslatable strings. Thanks Ricardo.

    Please, translate this extensive text is not easy and it is
    very important the translation be well organized. Therefore, was
    made ​​more changes.

    Change-Id: I8face661bc096d4b2d7213cceed1f048fd1bc784

commit 61da03f512db8939b41be022e9fd5efad47f7030
Author: jjsan <juraj.janecek@gmail.com>
Date:   Mon Sep 19 21:47:51 2011 +0200

    Updated Slovak Language

    Change-Id: I6fdbe8301f53bd59be72542137fca8b22487820a

commit b088359e075694bfb817905ac3ff3b155f2623ce
Author: Hawkeyexp <hawkeyexp@googlemail.com>
Date:   Sat Aug 6 23:08:05 2011 +0200

    extend translation (de)

    Change-Id: I16bfbb10d278f25e99e71798c669e8f99aea34c3

commit d7b89d1f0d176a2a6bf1243e3a1f3c02656ab2c0
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Sat Jul 30 15:20:22 2011 +0200

    french: translation of phone settings

    Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>

    Change-Id: Icd7d83c467ccc7925b5a5aa9986b5effd5df299f

commit 95d0647b5b68bf0d60f6eec112b86cf26eac3e3c
Author: ottuh <michel91@gmail.com>
Date:   Sat Jun 25 12:59:59 2011 +0200

    Phone: Dutch translation updated!

commit 0311b5754d52aee845929987f754273f57921469
Author: skyscribe <skyscribe.yf@gmail.com>
Date:   Sun Jun 19 21:37:34 2011 +0800

    Simplified Chinese: update translations.

    Change-Id: Ife8ebb610ccaf3f17aec3d269df8075f5a509440

commit b2201bae6b33b977215124536b987f0440033b3b
Author: evgenln <evgenln4@gmail.com>
Date:   Sun Mar 20 19:00:08 2011 +0200

    Update Ukrainian translation
    - Add missing translations
    - Replace unneeded reductions
    - Fix terminology

    Signed-off-by: evgenln <evgenln4@gmail.com>

commit 07931389928b109f48b167c72cb4143bdce541b2
Author: KalimochoAz <calimochoazucarado@gmail.com>
Date:   Sun Mar 20 14:26:50 2011 +0100

    Added missing Spanish translations to the phone ( by Chuckycrx )

    Change-Id: I6b8ce8ba90ce00316d38be088fedec6d7e5eef9a

commit 37c5261e0961c5ff6df065380a85e515d5d6cd98
Author: ladios <ladios.jonquil@gmail.com>
Date:   Mon Mar 7 23:20:24 2011 +0800

    Traditional Chinese: Translation tweaked.

    Change-Id: I50254545e9b7b1645d9c3db61f06acd77fe21fa4

commit 2476b3894f0f0db556aad4c54884e42ed9740d4d
Author: dh-harald <github@criminal.hu>
Date:   Fri Mar 4 10:31:07 2011 +0100

    Added missing HU translations from Hungarian Spica Community

    Change-Id: Id22f6f042750dd0ace42e3b87f1025347144fb17

commit bfd9daefcdefa9b99e45bfc302ff82c34aa348c3
Author: ladios <ladios.jonquil@gmail.com>
Date:   Thu Mar 3 04:15:03 2011 +0800

    Traditional Chinese: Translation updated.

     - all extra strings

    Change-Id: I9b98852f4fea47b204ad91fd7735aef461ad31e8

commit 3d61fcadb37f066c424355ba56262ef2ad1edee4
Author: iAndroid members and David Kohen <kohen.d@gmail.com>
Date:   Sun Feb 27 15:44:53 2011 +0200

    Added Hebrew translations

    Change-Id: Ie93df0ef90d193fb6ca5f1f0f4689613a4d313a7

commit b11713b407ed9fb4618722e6200eba402acad03d
Author: evgenln <evgenln4@gmail.com>
Date:   Sat Feb 19 22:22:50 2011 +0200

    Add Ukrainian translation

    Signed-off-by: evgenln <evgenln4@gmail.com>

commit 4f4325b2d5c3f4bd33bda844d71088d99878b175
Author: Patrik Kullman <patrik.kullman@gmail.com>
Date:   Tue Feb 8 18:25:26 2011 +0100

    Updated Swedish translations

    Change-Id: I01017b84536dd4e8430e6b52f0f9b1d4d1c6ae98

commit 2900dd0035461bc109ede52fa19d4d408116a19e
Author: flr <rozbicki.maciek@gmail.com>
Date:   Sun Jan 23 07:54:51 2011 +0100

    Updated polish translation

    Change-Id: I95acdfa9095fe22eb138753a307775898184d196

commit 0bd1739d2316011dfb07d5d8c82c4aa1e61cb932
Author: Inseok Lee <dlunch@gmail.com>
Date:   Tue Jan 11 16:02:20 2011 +0900

    Update korean translation

    Change-Id: Id089d141c29fc7b2713d63abca636733cd03802d

commit 61fa7f12bf6b129bead3540d561e9df2258d3f7c
Author: cytown <cytown@gmail.com>
Date:   Tue Dec 28 16:40:01 2010 +0800

    fix error in Russian and remove hu support to pass the compile

commit dfd49dad35d0d845b8148df62ab4ca2b641f9446
Author: pellix <pellix@gmail.com>
Date:   Thu Dec 2 10:49:01 2010 +0100

    Catalan translation added

commit af4e28e2d97f5195d6cc91d3d12c0b4e64ab57be
Author: Schnee <akos.schneemaier@gmail.com>
Date:   Thu Nov 25 12:47:13 2010 +0100

    Hu translation for Phone.apk

    Change-Id: I3c5c83c92a5b09537fdac7c986481018aa3b3be1

commit 479264b5a36a41b1ffe491108122965bb0fb0415
Author: Eduardo Martins <eduardo@martins>
Date:   Tue Aug 24 11:44:40 2010 -0700

    Update Portuguese translation: Advanced Setting in Call Settings

commit 34884db535411fa9293a0de776b794e64b072c40
Author: Eug89 <eugenioziliotto@gmail.com>
Date:   Thu Aug 19 00:18:23 2010 +0200

    Updated Italian Translations: permission control for 2G/3G switch

commit c90c303679eace18787e7ce11ae1ff73e98c66e9
Author: thiasB <m.buechner@gmail.com>
Date:   Wed Aug 18 23:33:08 2010 +0200

    German:
    - remove some deprecated strings
    - Re-enabled "Affiliated Networks"
    - permission control for the 2G/3G switch
    - option for setting device phone number
    - Fix CM issue 1916

commit 765daae2bde0bb0f03656136a50838eb07d3c013
Author: Takuo Kitame <kitame@gmail.com>
Date:   Tue Aug 17 10:31:26 2010 +0900

    Update Japanese translation: My phone number and permission.

commit edd6a17dfaa03e1b5ce1e8f09f6700ce310179f9
Author: sebyx31 <seb.vaucher+github@gmail.com>
Date:   Tue Aug 10 22:11:02 2010 +0200

    Added new French translations

commit 0d396f79514173e06c5334a40f23090933e0a806
Author: piaf <piaf@mediacenter-desktop.(none)>
Date:   Tue Aug 3 00:56:09 2010 +0100

    Added permission control for the 2G/3G switch

Change-Id: I84db8082b4e35262f1c6cdb8d1156f3cbf997a99
Make PhoneToggler accept the same values as are configurable in the
settings.

It makes no sense to allow setting GSM states on a CDMA phone, and on
GSM phones, we also want to allow setting NT_MODE_GSM_UMTS.

Change-Id: Ib1fe3118020c8c02e8eb0e167aba0cb30eee6bd9