Button & keyboard backlight brightness adjustment (1/2)

PS2: move from display to button settings
PS3: fix tab

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I35a6d149affc1da08707b7c40fb02761321cba41

Conflicts:
	res/values/cm_strings.xml
	res/xml/button_settings.xml
	src/com/android/settings/cyanogenmod/BootReceiver.java
	src/com/carbon/settings/fragments/ButtonSettings.java
Use a common base class for HW tuning sliders.

Change-Id: I61b458ffb08eb765f8a720657056243f56e76f17

Conflicts:
	src/com/carbon/settings/fragments/ButtonBacklightBrightness.java
	src/com/carbon/settings/fragments/KeyboardBacklightBrightness.java
	src/com/carbon/settings/fragments/VibratorIntensity.java
Fix removal of backlight settings

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I118e667b306a5a1e50d593f3f18828b7a921a511
Remake kb/button backlight controls as a PowerManager client

PM now has observers for these settings values and applies them in
realtime, so piggyback on those for button light management

Change-Id: I7568069bd6cacf5cbb56c8d0a1746894725b87fa

Conflicts:
	src/com/android/settings/cyanogenmod/BootReceiver.java
	src/com/carbon/settings/fragments/ButtonBacklightBrightness.java
	src/com/carbon/settings/fragments/KeyboardBacklightBrightness.java
Add configurable kb/button backlight timeout

Adjust the value for Settings.System.BUTTON_BACKLIGHT_TIMEOUT

Change-Id: Iea534312b09b38a95185d7fc97d922b23faf29e3

Conflicts:
	res/values/cm_strings.xml
Improve button/keyboard backlight code.

- Improve UX
- Deduplicate code

Change-Id: Ie0218de8b83fe49e3fe1d91a64c2522af03ba06d

Conflicts:
	res/values-da/cm_strings.xml
	res/values-el/cm_strings.xml
	res/values-es/cm_strings.xml
	res/values-hu/cm_strings.xml
	res/values-it/cm_strings.xml
	res/values-ja/cm_strings.xml
	res/values-pt/cm_strings.xml
	res/values-ru/cm_strings.xml
	res/values/cm_strings.xml
	res/xml/button_settings.xml
	src/com/carbon/settings/fragments/ButtonBacklightBrightness.java
	src/com/carbon/settings/fragments/ButtonSettings.java
	src/com/carbon/settings/fragments/KeyboardBacklightBrightness.java
Save value to shared prefs in HW value scale.

Otherwise we can run into precision issues if the HW e.g. uses a 0..255
scale.

Change-Id: I2df81db728faa64ee7b09cc3101122ff5c95b7a3

Conflicts:
	res/xml/more_device_settings.xml
Fix button brightness preview.

Change-Id: I2b0933062d443855114088e1bb4c09c68a83a0e5