XtraSense: add generic color picker preference

Also fixes existing color pickers rotation handling

Change-Id: I7f3280517aeed9bc70edfbcd69a08e567a6a7366

Conflicts:
	res/layout/dialog_battery_settings.xml
	res/layout/dialog_light_settings.xml
	res/layout/preference_application_light.xml
	res/layout/preference_battery_light.xml