Add compatibility code with mainline's configuration options for unlock

Change-Id: Ife2d6fad5cb1e7c846f5969401ee6dbc881aea3f
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_packages_services_Telephony into temp