base: Add dock battery support

Dock battery patchset chain:
base: http://review.cyanogenmod.org/#/c/55349/
native: http://review.cyanogenmod.org/#/c/55028/
healthd: http://review.cyanogenmod.org/#/c/55029/
settings: http://review.cyanogenmod.org/#/c/55212/
tf700t: http://review.cyanogenmod.org/#/c/55030/

Video (battery styles): https://www.dropbox.com/s/a7dp3glb7lv1zcg/dock_sdcard01.mp4
Screenshots:
 * No dock: https://www.dropbox.com/s/2yvngdaqok32xiz/dock_sdcard01.png?m=
 * No charging: https://www.dropbox.com/s/ezghtgoedei17oj/dock_sdcard02.png?m=
 * Docked no charging: https://www.dropbox.com/s/7fasc05fw5ylfxi/dock_sdcard03.png?m=
 * Docked charging: https://www.dropbox.com/s/x37vrhxzd075f7p/dock_sdcard04.png?m=

Fix landscape battery:
https://www.dropbox.com/s/nlufek6gmwrjvyn/dock_fix1.png
https://www.dropbox.com/s/yo5y026o9piwil8/dock_fix2.png

Fix: battery history graph
https://www.dropbox.com/s/jkf7uioupyl05x7/Screenshot_2013-12-12-04-03-38.png

Change-Id: Ia36dbc5c76bf5e256d660e4594ca1169eeb3f00b
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>

Conflicts:

	core/java/android/app/ContextImpl.java
	core/java/android/provider/Settings.java
	core/java/com/android/internal/util/cm/QSUtils.java
	core/res/res/values/cm_strings.xml
	packages/SettingsProvider/res/values/defaults.xml
	packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java
	packages/SystemUI/res/layout/quick_settings_tile_dock_battery.xml
	packages/SystemUI/res/layout/status_bar.xml
	packages/SystemUI/res/values/cm_arrays.xml
	packages/SystemUI/res/values/cm_strings.xml
	packages/SystemUI/src/com/android/systemui/BatteryMeterView.java
	packages/SystemUI/src/com/android/systemui/quicksettings/BatteryTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/QuickSettingsTile.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarTransitions.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryController.java
	services/java/com/android/server/BatteryService.java