settings: Add support for SRE

 * Add support for sunlight readability enhancement
 * Optionally depends on adaptive backlight, depending on HAL

Change-Id: I9ca388ffd68080f0e497edb81d5f8616c194ea1d
Settings: Rewrite Quiet Hours (3/3)

Added:
	Wifi Connected Preference
	Charging Preference
	Individual Day Preference(s)

	Completely rewrote quiet hours
		to reduce system calls.
		No more calendar objects
		or checking three preferences
		and comparing their values
		on each quiet hours check.
		Reduce that to ONE preference
		check per preference

PS2: Fix going from forced on to timed off
	not causing an update in states.
PS3: Ensure battery status is correct if
	the device is plugged in before
	boot is finished
PS4: Clean-up old bits from the bobs.
PS5: Fix preference summaries being incorrect
	in some instances.
_____vanirized________________
PS2: readd old QS string so a clean flash isn't necessary
  since QS utils look for the old generated resource ID - dmkessler00@gmail.com
PS3: make sure the content observer follows the activity lifecycle to prevent leaks dmkessler00@gmail.com
PS4: update the summaries on preference change FFS dmkessler00@gmail.com
PS5: renaming leftovers

Change-Id: If6d94256c61be6ad8b2ffda4cab82f43bc4cc2af
Signed-off-by: Dan Trifan <jimsth@gmail.com>
quiet hours: add back the option to disable system sounds (2/2)

Change-Id: I8274c4893c89ba424aa7aa1677c0bd23cad25e1c
Signed-off-by: Dan Trifan <jimsth@gmail.com>
Settings: Quiet Hours Extra Daily Times (2/2)

Users complained that, for example,
	setting up weekend hours
	but then moving to weekday
	hours within the same day
	was previously impossible.

This allows...again...much further
	customization than even the
	updated and super custom times.
	After this there is no reason
	to complain =P

These are still only called as needed (boot,
	state change incoming, time changed)
	which is still much less polling
	than each haptic touch polling
	3 settings, creating a calendar
	object and comparing times...
	Each call, notification, etc...
	So I have no issue with it.

Also add a "reset times" button for
	user convenience.

PS2: Add preference categories to make it
	easier on the eyes
     Logic fixes and make unused preferences
	more obviously unused via setting
	the time summaries to "- - : - -"
     Set QuietHours summary to enabled pref

Change-Id: I6030f22e50a45883d5e8ba793e5b8706c4a9dac5
Signed-off-by: Dan Trifan <jimsth@gmail.com>
Add more functionality to hardware key rebinding 2/2

this adds a great deal more functionality and customization potential to the
hardware key rebinding including the ability to disable individual keys.

TO DO:  rework the interface to be less of a gross looking clusterfuck

additional actions:
- back key as a rebindable target
- home shortpress rebindability
- navigate back
- navigate home
- kill task
- last app
- IME switcher
- power menu
- toggle navbar

PSCLEANUP: reorder the string-array to preserve the original functions

Change-Id: I46df17bf4bb337ec80d83a827d381b3e44fbc0b9