ProximityWake : Add support for checking proximity when waking device

Change-Id: Ia5ff446d88435773acccc7467e66009000dc20cb
Framework : Fix proximity wakeup reference

Change-Id: Ia40ca6fbf6e37fbb3996f2384f725c30b88c2131
core: Fix permission string

Should always start with lowercase

Change-Id: I5ab97b8a6ca67c4d2460f606f09b4bed8c299401
SystemUI: fix hidden clock style after a reboot

Selecting hidden clock style and rebooting the device results
in both center and default clocks appearing when you'd expect
to see none.

mClockView is null after a reboot so visibility gets never set.
Set default visibility for clocks to gone.

Change-Id: I533af8c28042a5989e0025df133c9ccf1fa3e066
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_frameworks_base into android-4.4

Conflicts:
	core/java/android/os/IPowerManager.aidl
	core/java/android/provider/Settings.java
	packages/SystemUI/res/layout/msim_status_bar.xml
	packages/SystemUI/res/layout/status_bar.xml
	services/java/com/android/server/power/PowerManagerService.java