Telephony: Get SIM card capacity count of SMS.

Add one API:
- getSmsCapacityOnIcc: get the capacity of stored SMS on ICC card.

Change-Id: I63c1431cf02db2dbdee3553afc2448b4ec2cdfa3
CRs-Fixed: 645022
Telephony:Copying MO/MT SMS of SUB2 to its SIM memory is fail in C+G.

Fix: In C+G configuration, While copying MO/MT SMS of SUB2 to its
SIM memory, in process of getting current Phonetype is returned with
default sub's(i.e,SUB1's)Phonetype which is CDMA type.
To fix this, get current Phonetype based on subscription id.

Change-Id: I394eadfb091c4901a553cf66192e8ee965b69eda
CRs-Fixed: 689036
Merge branch 'cm-11.0' of git://github.com/CyanogenMod/android_frameworks_opt_telephony into cm-11.0
DcTracker: Expedite data stall recovery

The current stall recovery process has a pending packet queue which
needs to fill up before a stall is determined. But that process is
also multi-step, and it is currently expecting that queue to fill
between steps.
Waiting for the unacknowledged packets to grow after running the
connection cleanup step looks like something that would never happen,
or would take a very long time to, so expedite the stall recovery after
it begins: if any single packet stalls and there's already a recovery
in progress, run the follow up step immediately.

Change-Id: Ib16b2c47b5c832a812c8bd2a3d940862741ed9db
Merge branch 'cm-11.0' of git://github.com/CyanogenMod/android_frameworks_opt_telephony into cm-11.0
Merge branch 'cm-11.0' of https://github.com/temasek/android_frameworks_opt_telephony into HEAD