Fix NRE on sending multipart texts.

Watch for deliveryIntents, parts, and sentIntents being null.

This is based on http://review.cyanogenmod.org/#/c/46009/

Change-Id: Ia715e320d38f3fdbb10dd5621209bc432312cdb0
Merge branch 'cm-10.2' of github.com:CyanogenMod/android_frameworks_opt_telephony into beanstalk