Quicksettings: Bring up to date with CM implementation. [1/2]

Cherry picking and merging was not an option as those methods
resulted in other things being added that we do not have in
ChameleonOS.  The code and resources in this commit were taken
from CyanogenMod using BeyondCompare to minimize the conflicts
and avoid additional code and resources getting mixed in.

Change-Id: I4bbd71f22f94688f23db7785db2ea5f0f1993dc3

Conflicts:
	core/java/android/app/ProfileManager.java
	core/java/android/provider/Settings.java
	packages/SystemUI/res/drawable-hdpi/ic_qs_quiet_hours_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_quiet_hours_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_quiet_hours_off.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_quiet_hours_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_quiet_hours_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_quiet_hours_on.png
	packages/SystemUI/res/layout/quick_settings_tile_rssi.xml
	packages/SystemUI/res/values/attrs.xml
	packages/SystemUI/res/values/strings.xml
	packages/SystemUI/src/com/android/systemui/quicksettings/AirplaneModeTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/AlarmTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/AutoRotateTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/BatteryTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/BluetoothTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/BrightnessTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/BugReportTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/GPSTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/InputMethodTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/MobileNetworkTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/MobileNetworkTypeTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/NfcTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/PreferencesTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/ProfileTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/QuickSettingsTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/QuietHoursTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/RingerModeTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/ScreenTimeoutTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/SleepScreenTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/SyncTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/ToggleLockscreenTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/TorchTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/UsbTetherTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/UserTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/WiFiDisplayTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/WiFiTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/WifiAPTile.java
	packages/SystemUI/src/com/android/systemui/statusbar/SignalClusterView.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsBasicTile.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryController.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/DockBatteryController.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
Re-implement customizable quick settings

Change-Id: I4511a3b7ad9b1691e6549947c774ebf818844a81

Conflicts:
	packages/SystemUI/res/values/vendor_colors.xml
	packages/SystemUI/res/values/vendor_strings.xml
	packages/SystemUI/src/com/android/systemui/quicksettings/AirplaneModeTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/BatteryTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/BluetoothTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/GPSTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/MobileNetworkTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/MobileNetworkTypeTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/WiFiTile.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryController.java
Re-implement quiet hours into NotificationManagerService

Change-Id: Ia2836894bf36af42491e723f6f1b68ca9a5d12b4

Conflicts:
	services/java/com/android/server/NotificationManagerService.java
Revert "Re-implement customizable quick settings"

This reverts commit 60f4f768d1b27c5ee1f2e19096d8c05944949f02.
Revert "Quicksettings: Bring up to date with CM implementation. [1/2]"

This reverts commit a39b70b2e770b178e16e33c3c136bc7703d15fbf.