StatusBar.java: Misc updates
Revert "Remove unused codes"

This reverts commit ccca3b94442c890423ba41c5000b7fe0e62e1da7.
Revert "Settings: More options added to hardware key rebinding (2/2)"

This reverts commit 4ed57c071a8d53f81373df5a52776cf24d705cd7.
Settings: Configure wake on Power, Home or Both [2/2]
Allows users with Home button to specify which buttons to use to wake
device. Options are:

- Power Button only
- Home Button only
- Power or Home Button (default)

Essentially the same as current functionality, but now enables user to
"disable" Wake on Power Button, by selecting "Home Button only".

Note: requires config_home_wakeScreen device overlay:

packages/apps/Settings/res/values/bools.xml

Based on Xposed addon by Daniel Bergløv aka SpazeDog
https://github.com/SpazeDog/xposed-additions

PS 2: change default to Both, refactor

Change-Id: If45e537532d3f877c272e37253de3f70831b67bf

Conflicts:
	res/values/cm_arrays.xml
	res/xml/display_settings.xml
	src/com/android/settings/DisplaySettings.java

Conflicts:

	res/values/cm_arrays.xml