Forward port Templates functionality

Change-Id: Ieb9e54249dd512e65f23f32d503d11fba88335ee
Fix SMS sending.

ACTION_SEND_MESSAGE must be routed through the privileged receiver now,
otherwise it'll be dropped in SmsReceiver.

Change-Id: Ifbe6e222d16053c038ca79a98e6bc837090ea3a3
Fix up receiver declaration.

The intent this receiver listens to is used by the BT MAP implementation
to send out SMS it queued. As the manifest and the
SmsReceiverService.java were in disagreement about the action name, this
didn't work.
Also secure the receiver in the process, it can be used to send out SMS
without having the SEND_SMS permission otherwise.

Change-Id: Ia8d181731baea586865ce3f18fe0864636c2b6f4
Fix AAPT warnings

Change-Id: Id791b867bdd0cb07681fa626274480c6316ed061
Bring back QuickMessage, Unicode stripping, TimeStamps and Add to Calendar

Change-Id: I103195f61b13a83573e7bf8f8a1bf08cb8aacc94
Port "Fix cropping on MMS inline thumbnails"

The following patch fixes the cropping that was broken in jellybean. This worked
properly in Ice Cream Sandwich and CM9. It now behaves correctly with this
patch. Here are before and after pictures of both a regular photo and a
panorama.

Photo:
before
http://img62.imageshack.us/img62/3783/beforee.png

after
http://img24.imageshack.us/img24/231/afterwd.png

Panorama:
before
http://img194.imageshack.us/img194/3882/panobefore.png

after
http://img607.imageshack.us/img607/962/panoafter.png

Change-Id: Ie37d09bf46eca4efb7dc0be02dbd971648abd4ca
Bring back Split SMS

Change-Id: I8b1ee608a1ca3989462f9a12bad19201309ec16b
Mms: Add the ability to select recipients from a checkbox list
When creating a new message you have to write some letters from the
contacts you want to add and select them by clicking on it.

This can be annoying if you want to send your message to several contacts.
With this change you can manually select numbers from contacts and groups
from a checkbox list.

Change-Id: I03681f22a0d949679e2a9cc95c551e4c216b6300

Conflicts:
	res/values/cm_strings.xml
Mms: Bring back layout color abstraction

Change-Id: Id1845ddad8a38a6f2ece7c9531927cb8fc1ab189
Mms: Bring back Translations

Change-Id: Iec5a20a16aef14bdd0042575693e018db6e669ca
I hate theis feckin green icon lol
Mms: Fix crash when NetworkInfo is not yet available

Change-Id: Iff3c0fea010019ed19c58dc65790a518445e7ee9
Mms: Allow text input field to expand upto 6 lines

Change-Id: Ia06f249ca4ad68cf03ff4b41493bc158d5cdc7d7
Mms: Fix inconsistent back button behavior

By default, a press of the back button will only take effect when the
button is successfully released (the user releases the button while
still focused on it), not when the button is still triggered and pressed
down. To avoid this inconsistent behavior, execute the custom back
logic in the onBackPressed callback instead of onKeyDown.

Change-Id: I1446e0d7438e467f2d0d02d18cf8d3c68a4eed90
Mms: Draft still exists after forwarding mms

The draft still exists after forwarding mms to the same
sender

Forward message will be saved as draft before sent, and it will reload
this draft after come back to the current thread.

Do not load the draft for the same recipient address when forwarding
mms.

Change-Id: I2b21fb527f00959ae9608675226b72d3ce85cb56
Mms: Update widget to fit kk

Change-Id: Ied7a257dd0edaf89c3c804eff677914def577548

Conflicts:
	res/layout/widget.xml
Mms: Clean up delivery report dialog

Instead of launching another activity just to show the delivery report,
mimic how showMessageDetails works instead, using AlertDialog.Builder.
This ports the dialog over to Holo as well.

Change-Id: I5817e84ee73ea104f6859e5c1eab1526468de39a