Fix NRE on sending multipart texts.

Watch for deliveryIntents, parts, and sentIntents being null.

Change-Id: Ib9e55b59ef92d0f6057ec2e8c93dcb95d68a612d
Merge remote-tracking branch 'upstream/cm-10.1' into cm-10.1