Phone: support writing the phone apps status to proximity sysfs node

Change-Id: I40f75cc610a206711433c661ad2595ead2166c46
Merge "Phone: support writing the phone apps status to proximity sysfs node" into cm-10.2
merge changes from CyanogenMod 10.2 into local branch