Custom user-agent option

port from https://github.com/CyanogenMod/android_packages_apps_Mms/commit/afac2716ff7c43234fe1ba4a0247a25707c3a6c1
Custom user-agent is necessary for MMS access on the Softbank mobile network in Japan.

PS2: rebase
PA3: rebase

Change-Id: Ia3743360cb4660babbfa3311de016ee3b888a858
Signed-off-by: rdgate <rdgate@gmail.com>

Conflicts:
	res/values/strings.xml
	res/xml/preferences.xml
Mms: Enable SoftBank emoji encoding

This adds an option to enable SoftBank emoji encoding when inserting
emoji into SMS/MMS message.

There is nothing wrong with the default Unicode emoji encoding other
than the fact that most Japanese carriers does not support it as they
have their own coding conversion tables. The option toggles to SoftBank
encoding, the decoding both Unicode and SoftBank-codeed emoji is
alredy working correctly (both code tables are already part of the
src/com/android/mms/util/EmojiParser.java). Unicode encoding will
stay the default.

port from http://review.cyanogenmod.org/#/c/34500/

Change-Id: I494cb6d2ce022e0f00a46e38b84384f1e80b23e4
Signed-off-by: rdgate <rdgate@gmail.com>

Conflicts:
	res/xml/preferences.xml
	src/com/android/mms/ui/MessagingPreferenceActivity.java
Mms: 'Open' in QR menu & resume sleep after sending msg from lockscreen

This adds an 'open' to the qr menu which allows you to enter
the current conversation(in turn clearing notification and
marking read/seen)

Second feature is optional and allows the device to be turned
back off when launching qr from lockscreen after its been relocked.
(device off->on->check notifs->use qr->relock->screen off)

Signed-off-by: bmc08gt <bmc08gt.teamb00sted@gmail.com>
Change-Id: Idd35e66f514ccf626995d2be5fc6af44500c5ba4

Conflicts:
	res/values/strings.xml
	src/com/android/mms/ui/MessagingPreferenceActivity.java
	src/com/android/mms/ui/QuickReply.java