SamsungExynos3RIL: fix sim PIN handling

(cherry-picked from cm-10.2)

- fake sim status changed on incorrect PIN (rebase from RIL)
- notify PIN-correct using RADIO_ON instead of on signal strength
  (causes ICC to be queried all the time if no SIM is inserted)

Change-Id: Ie0a77eee7d6a230d511d648633aa0e6f945038ff
Add SMS Middleware layer.

Change-Id: If5621d0c5126d6917ab00143af645692f3c4a384
SMSDispatcher: Fix determining the defaultSmsApp for proxied messages

We can't rely on the calling UID, since for re-broadcasted texts that'll
always be the telephony itself; so if called by the framework, use
the sentIntent creator to determine which app originated the message

Change-Id: I60ac02f6ae09f4260f5494659a174352f353aa2a
Merge "SamsungExynos3RIL: fix sim PIN handling" into cm-11.0
Merge "SMSDispatcher: Fix determining the defaultSmsApp for proxied messages" into cm-11.0
Hide public API modification

Change-Id: If9b9da59b63d195f8179e7044fcaa7b55c53d8d6
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_frameworks_opt_telephony into kitkat