mark as read and fixes from CM

Squashed commit of the following:

commit b0ca404163152e39ea38ffab27a9f6c12dc2e770
Author: jared waters <kushdeck@gmail.com>
Date:   Mon Dec 10 06:19:09 2012 -0800

    Mms: adds the option to hide sprints vm text messages, but still allows sprints vvm to receive messages.

    This fixes the missing code form the merge.

    Change-Id: I7ffe257ee7df05324183c6985157fef94847bda1

commit bf2e7f67f7e9cdabcae8bfb2b27e0a5fe3b40707
Author: detule <ogjoneski@gmail.com>
Date:   Thu Dec 20 22:34:29 2012 -0500

    Mms: Take into account image rotation.

    Care was taken to not introduce additional jpeg-bitmap-jpeg conversions.

    - Modify UriImage to track orientation via exif
    - UriImage returns properly oriented bitmap via getResizedImageAsPart
    (called from sendMmsWorker->resizeMedia)
    - ThumbnailManager returns properly oriented bitmap via getBitmap
    - attachment_view.xml: height: wraps around content

    Change-Id: I104c85e06895c40e9676ad4efae0bec6765d4a09

commit cf234d990725cd96ba9bfe121e6d1b829c73f2cc
Author: Felix Walter <felixwalter92@googlemail.com>
Date:   Wed Dec 19 17:34:06 2012 +0100

    mms: Use enter for new line if mInputType is TYPE_TEXT_VARIATION_LONG_MESSAGE

    Handle the INPUT_TYPE preference as in cm 10.0:
    If the "show enter key" preference is set, use enter for new line and
    shift + enter for sending like the QuickMessagePopup already does.
    This forward ports the corresponding section in ComposeMessageActivity code.

    Change-Id: I8b9e5e66705bbe1ee2c045b7e67209323ca053bc

commit e89032e6e47b0afa5dc8246361223d86a74ad3e7
Author: DvTonder <david.vantonder@gmail.com>
Date:   Wed Dec 19 10:43:23 2012 -0500

    QuickMessage: Fix the dialog size for the N4

    On the N4, the keyboard seems to be taller and it overlaps the bottom
    of the QuickMessage dialog.  This commit makes the pop-up 5dip shorter
    so that it maintains a small gap between the dialog and the keyboard.

    Change-Id: Idf80d2192d4ef6b0ba0abb1d48908e0d8b7216dc

commit 3805fbfa059633cb93a2bb2fcedf542d85c6efce
Author: Marius Volkhart <Marius@volkhart.com>
Date:   Thu Nov 1 15:21:58 2012 -0500

    Corrected SMS acronym to be capitalized

    Change-Id: I8ed68c1014fc40dc645d5c290ec33e1fb392647d

commit 0c4cf6094d097387f91ff4cf9baef82435b391f0
Author: DvTonder <david.vantonder@gmail.com>
Date:   Mon Dec 10 17:31:27 2012 -0500

    Messaging: Fix the order of the Mark read action

    Change-Id: I7ba5a08f67de57c8b9be2b037c474d517bcc2c4f

commit 16eab4c2baf88e108061817bae077cea93e9c660
Author: DvTonder <david.vantonder@gmail.com>
Date:   Sun Dec 9 14:33:39 2012 -0500

    QuickMessage:  Better 'Mark as read' handling

    Allow for marking messages 'Read' when the pop-up is enabled. When the
    thread a marked read, the matching message pages will be removed from the
    pop-up, leaving any unread messages in place.  If all messages are marked
    read from the notification, the pop-up is dismissed.

    Change-Id: I597ba30e0f2a09626bfdd9257aa7be98623e0d73

commit 262234971ab0b65501d42b53462de26679c781eb
Author: DvTonder <david.vantonder@gmail.com>
Date:   Sat Dec 8 19:58:31 2012 -0500

    Messaging:  Only allow Mark as read when Quick reply is active

    Change-Id: I1d3e803f28d8f7bd52059deb5a48f861ddf01545

commit 8daab78ecc782ae59d9bb47069602681b13fc7b0
Author: DvTonder <david.vantonder@gmail.com>
Date:   Sat Dec 8 12:39:31 2012 -0500

    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

commit b216112583fa503814db66093bbc844f4f3386c4
Author: PrimeDirective <activethrasher00@gmail.com>
Date:   Mon Dec 31 22:12:14 2012 -0500

    MMS app: fix crash when MMSC setting is NULL

    Change-Id: I067d387bb832b8b2f6b89e246cfe62afa6864ccc

commit b5d5e7c4e00d1f6ff5cd870cf37d7c528dc07d74
Author: DvTonder <david.vantonder@gmail.com>
Date:   Sun Dec 2 09:16:34 2012 -0500

    Messaging: Prevent the light from being dismissed when a QM Popup wakes the device

    Change-Id: I6390a7ff0fcef7e32246ee0a75e59aa46941deaf

commit bd58255b12132afafa70d23b6fbb947639aed2ab
Author: blackhand1001 <blackhand1001@gmail.com>
Date:   Thu Oct 18 18:47:56 2012 -0400

    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

Change-Id: If279237d22d6d14fc711e2a3ffb13997e24b2354
Fix SecurityException when adding a captured photo

Change-Id: I3f6e950991a0492b247c52f6be372e6dfd7a5123
Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>