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
Merge "Refactor SMS Middleware and SMS Send path." into cm-10.1
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
Adding code from CM7 to allow handling of voice mail notifications for Canadian providers

Also expected to fix unknown phone number issues.

Original commit from @Maxxy13: https://bitbucket.org/codefirex/frameworks_opt_telephony/commits/68121f105a73329705f3368c1455f888d3203754

Change-Id: I2b45c8795aaf80732e4d7acc04cb5b78a6447503
Merge remote-tracking branch 'cm/cm-10.1' into cm-10.1