Bug 921918 - 3.e/4: fix debug doesn't work when only turned on in pref.
Bug 921918 - 3.f/4: share similar works to callback with a DOM message in a transaction.
Bug 921918 - 4.a/4: accommodate to setMessageDeliveryByEnvelopeId interface change. r=gene
Bug 921918 - 4.b/4: Gonk RIL implementation. r=gene