Refactor SMS Middleware and SMS Send path.

Introduce a new Broadcast, ACTION_NEW_OUTGOING_SMS, that is similar to the existing call
equivalent ACTION_NEW_OUTGOING_CALL. This allows a receiver to rewrite the intent
or cancel it entirely.

This removes the need for injecting middleware.

Change-Id: I063288461161979f951932f32ade2cfbd72f8b73
Revert "PhoneProxy: when using v6 or greater ril make sure current phone type isnt GSM"

This reverts commit 5e0983ba3e96083da094d9706beadacce6b4e9c9.

Change-Id: I1d3727a5ac315309c1ce7aae4fa1d0662984432f
Merge "Revert "PhoneProxy: when using v6 or greater ril make sure current phone type isnt GSM"" into cm-10.1
Merge branch 'cm-10.1.1' into martincz
Merge "Refactor SMS Middleware and SMS Send path." into cm-10.1
Merge branch 'cm-10.1.1' into martincz
SMS Broadcast result receiver fix:
Fix bug where sentIntents is pulled from the wrong bundle key.

Change-Id: I306be0aeeda07e065702ca30edc3818ae9be4e26
SamsungQualcommRIL: fix passing isgsm flag

Change-Id: I3a07ac5157db9c64bca1016ab137419968c16fe6
Merge "SamsungQualcommRIL: fix passing isgsm flag" into cm-10.1
Merge branch 'cm-10.1.1' into martincz
SamsungQualcommRIL: always convert hex to int.

Change-Id: Idc9183c9041f4fb816ff82f428812bcfe7e5fce0
SamsungQualcommRIL: fix showing gsm operator numbers.

* replace them with operator names

Change-Id: I1fd6591f287eda05d0e18d2a269b49ee33b0bbca
Merge branch 'cm-10.1.1' into martincz
SamsungQualcommRIL: add more carrier numbers

Change-Id: I2aa3f4146575329c6fefb259b099371080842dab
SamsungQualcommRIL: fix HD voice

Change-Id: I8dfd96adeae15c42f57810cdb54a9eb915dead4f
Merge branch 'cm-10.1.1' into martincz
Fix RIL_UNSOL_CDMA_PRL_CHANGED constant typo (2/2)

Change-Id: If3ff32a3974368d9ea2756d3d9a22d4713e704fa
SamsungQualcommRIL: Add Operators class

* for replacing operator numbers with operator name
* prevent race condition when the two response  colided

Change-Id: Ia5add56b0c79847a70487223006bb33e2730a165
Merge remote-tracking branch 'cyanogen/cm-10.1' into cm-10.1
Merge branch 'cm-10.1.1' into martincz