Framework : Fix proximity wakeup reference

Change-Id: Ia40ca6fbf6e37fbb3996f2384f725c30b88c2131
ProximityWake: Fix and bring inline with CM

Change-Id: I4361da44fbc0ee46862453d650cd16c440781011
PowerManager : Account for values larger than maxRange for proximity

Some devices return a value larger than MaxRange, this patch accounts
for that.

Change-Id: I7cf64a82530da2e655018e43683ba7a5584d54f8

(CM-Gerrit #69169 PS2)
Be sure to shutdown the proximity sensor after display wake

Change-Id: I1768f13cb48c3e056d0e137642690fc3d650c4ab
Proximity Sensor: Do it the CM way...

Change-Id: I6e0407e83ada267eccfdbab0adc7276535ea2bc7