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
Messaging: Prevent the light from being dismissed when a QM Popup wakes the device

Change-Id: I6390a7ff0fcef7e32246ee0a75e59aa46941deaf
Messaging: Add the ability to mark a message as read from the notification

Note: It will only shows on single threads, just like the Call action

Also tweaks the settings strings a bit

Change-Id: I4b4ca1eb7c4d211b0d5765f0093263f351776a9a
Messaging:  Only allow Mark as read when Quick reply is active

Change-Id: I1d3e803f28d8f7bd52059deb5a48f861ddf01545