Telephony: Support for LTE network modes

Change-Id: I8833fe3e56c94303f05111a94433b1b9e6568d2f
Depends-On: I93c102f92ff2d10856d91108bb50fe5c0f06ad66
Telephony: Fix NPE in CdmaConnection

When card is removed and call gets terminated
getUiccCardApplication will return null

Change-Id: Ic861e5b5ee8515de431c33152fd11d2c45a2a353
Telephony: Add getLteOnGsmMode() method (2/2)

Same functionality as the existing getLteOnCdmaMode, but for GSM
LTE devices.
Enable with the telephony.lteOnGsmDevice system property

From CM 10.0: Ibfb47ca608e51393b99d3308e0a6c66050b3f32e
- Moved getLteOnGsmModeStatic() to TelephonyManager.
Telephony: make sms security linit change instantly

Change-Id: I0ad2f0f4a4243c7ccd6ff9411b4a1c46d46e360b
Telephony: Set TP-RD to 1 in case of retry

per TS 23.040 Section 9.2.3.6: In the case where no response or an
RP-ERROR with an appropriate cause value (see 3GPP TS 24.011 [13]) is
received in response to an SMS-SUBMIT, then the MS shall automatically
repeat the SMS-SUBMIT but must use the same TP-MR value
and set the TP-RD bit to 1 (see 9.2.3.25)

Bug:  8323645
Change-Id: I1c7ebc67f80a6eeba456ab0dc5f6331a038d7ab2
fix build

Change-Id: I5df7855ced09a95f9d969a5a74f6ea1886bedd1e