Fix permission check for deleting  SMS on UICC.

When accessing SMS stored on UICC via TelephonyProvider, we need to
use the com.android.phone UID for the call to IccSmsInterfaceManager
to avoid a UID mismatch failure in the app ops check. Add code to
SmsProvider to save and restore the original caller identity.

Change-Id:I520ca6e456a20ad3bc5d5c2584be2560e16efd20
CRs-Fixed: 562711
(cherry picked from commit cc0aff6fa3de420b12c602fab9f139847bfc4b85)
(cherry picked from commit adbf372891093248f0ed5058eb0c701f655264f8)
(cherry picked from commit 43f8a3342021c4e86a85092c50275ead2cea93c9)
Mms: Support priority when send sms

Add priority column support in database.

Change-Id: I5ccbd6dce52b86af8973f9b640e435cac345f6a3
(cherry picked from commit bbbbd334908ceff468fb0b9784f5e3d7ae669a9c)
TelephonyProvider: Impressive performance improvement for Mms delete

1. Drop the trigger used to update word and threads when delete part
2. Drop the tirgger used to update threads when delete pdu
3. Use code to do the trigger's job, to avoid unnecessary operation
when delete a lot of mms.

CRs-Fixed: 620436

Change-Id: I5dd32eb66123953848989a18abd099c905b4d3d8
telephonyprovider: Add blacklist provider permission

Change-Id: I000edc9622528bde797db6548ea54041362eb4fd
JIRA: CYAN-3727
Issue: https://jira.cyanogenmod.org/browse/CYAN-3727
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>