PhoneFactory: fall back to default RIL if custom RIL Class fails

If the ro.telephony.ril_class property is set to an invalid class it will cause
Phone to repeatedly FC and make the device unuseable. This allows it to handle the
exceptions gracefully and fall back on the default RIL.

Change-Id: Ic9c309aff173de5267aa7ef633bfff87243f24fd
Merge "PhoneFactory: fall back to default RIL if custom RIL Class fails" into cm-11.0
SamsungQualcommRil: bring back operatorCheck. (1/2)

* use more memory effience algorithim.
* Add Alot of comments
* Add xml to hashmap code.
* remove obsolete code.

Change-Id: Ia567d376962d95fced93634ace52452cdaeafd8b
Merge "SamsungQualcommRil: bring back operatorCheck. (1/2)" into cm-11.0
PhoneFactory: Block radio init if the device's custom class can't be used

Trap the initialization process in a 10 second error loop. The device
will be normally usable, and have a dead radio. The radio log buffer
will have the full stack dump explaining what went wrong during the
custom class instantiation

Change-Id: Id47d51737a9fb78e6d43a179ba304b1ba03c4219
SamsungQualcommRIL: Add Operator replace functionality to search network.

Add a new api called unOptimizedOperatorReplace, this is designed for
loop based like the one in operatorinfo.

Change-Id: Ic72a70178a1868365d85e81403cc88e0a75a7e39
GsmSST: Disregard any invalid verbose values for timezones in NITZ requests

And assume anything resulting in "GMT" is invalid, since that's the
default value returned by libcore

Change-Id: I361650400e71976d8327ee3929947ca26a9eff57
(cherry picked from commit f440bcd71fe735872b7e4c7ecd557503a79df756)
Merge "SamsungQualcommRIL: Add Operator replace functionality to search network." into cm-11.0
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_frameworks_opt_telephony into kitkat

Conflicts:
	src/java/com/android/internal/telephony/PhoneFactory.java

'Merge.