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 "Refactor SMS Middleware and SMS Send path." into cm-10.1
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 remote-tracking branch 'cm/cm-10.1' into cm-10.1