SamsungQualcomm: Skip new requests on old RILs

Pre-8 RIL implementations lack support for both
RIL_REQUEST_SET_UNSOL_CELL_INFO_LIST_RATE and
RIL_REQUEST_IMS_REGISTRATION_STATE. Ignore both of
these to prevent lingering unanswered requests.

Change-Id: I4cfbfe52a14dea636823cb54a0cc4675de80698b
SamsungQualcomm: Add support for Samsung's EMS dialing request

At least some samsungs require a specific emergency dial.
JF and D2 have been identified as _not_ requiring it, so it's
not for all Samsung qualcomms.

Change-Id: Id43728942f2d964a84f7486b1269d2da8305fdf6
SamsungQualcommRIL: fix power on and off state

 remove obsolete code

Change-Id: Ib7b288e50e603ff91ac715113db9dc1769a3a09f
SamsungExynos4RIL: buffer CAT Proactive Command

The RIL sends a CAT proactive command (init) before the registrant
is registered causing the command to be missed and STK menu to
not show up. Buffer it and fire it when the registrant is registered.

Change-Id: I021ce911e55b30c1a2d95d8060f7d9ff72e3b742
Don't write blank baseband version

* There's no point in setting the baseband version if the returned value
  is blank anyway.

Change-Id: Ica9973a8b790c0de6afa10bc131257a3a03f18a0
Merge branch 'kk4.4' of https://github.com/SlimRoms/frameworks_opt_telephony into kk4.4
Don't use substring matching on locales.

We can't assume that all languages will be 2 chars in length.
Language matching will need to parse the language subtag from
the locale, else we might end up matching a languages like
"fi" (finnish) to "fil" (filipino).

bug: 10090157
Change-Id: Ie394d9fa5e45e49a6d90bb107783de7a9e17b766