Add SMS Middleware layer.

Change-Id: If5621d0c5126d6917ab00143af645692f3c4a384
Merge remote-tracking branch 'cyanogen/cm-11.0' into cm-11.0