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
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
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