Add SMS Middleware layer.

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