Settings: Quick Settings customization (Part 1 of 2) WIP!

This commit will alow configuring the Quick Settings tiles layout
in Settings.

Patchset 2 - Add QS Configuration UI (Danesh M)
Patchset 3 - Bug fixes
Patchset 4 - Cleanup
           - Sort supported tiles alphabetically
           - Add license headers
Patchset 5 - Fix re-arrangement bug
Patchset 6 - Add 'Static tiles' category and move Sound modes preference
Patchset 7 - Add Note to Power widget explaining interaction with Quick
             Settings panel behaviour
Patchset 8 - Whitespace derp
Patchset 9 - Restore Settings tile to AOSP location

Change-Id: I6239abb1b93f9d65072d16cc61954bb0140d4777

Conflicts:
	AndroidManifest.xml
	res/values/strings.xml
	res/xml/power_widget_settings.xml
	res/xml/system_settings.xml
Settings: Add Quick pulldown support for Quick Settings panel config

Change-Id: Ia54fa85466f47ad5952b18e9316fb5133334463b

Conflicts:
	res/values/strings.xml
	res/xml/power_widget_settings.xml
Settings: Fix Quick Settings panel settings FC when rotating device

Change-Id: I588c466dcdc22200e2169cd3e97aa13b5e2821b4
Settings: Add ability to reset Quick Settings panel to default

Change-Id: I968f8b01e82e39410d6b1fc8dacced05c011468b

Conflicts:
	res/values/strings.xml
	src/com/android/settings/xperience/QuickSettingsTiles.java
QuickSettings : Add torch tile

Change-Id: I3d206c95e5da15a0717b500ed30efc69ff28c07d
QuickSettings: Use the new QS drawables for the settings too.

Before it used the old power widget drawables, some of which
look quite different from the ones actually used by QS.

Change-Id: I022b1e3499bb69f0b974e610719778b16a59c543
QuickSettings : Add Wifi-AP Tile

Patchset 2 : Rebase and WiFi AP Tile fix
Patchset 3 : Remove the tile if not supported by device

Change-Id: I93ddf34f9d0061000e1f3b8baa03f9e17d0fba61
QuickSettings : Option to dismiss on toggle

This option dismisses the notification pane when a toggle is selected

Patchset 2,3 : Shorten preference title
               Rework logic for removing preferences on tablets

Change-Id: Ia2392b2336f018bcc52e9ddbaf2dfa4433dd62c2

Conflicts:
	src/com/android/settings/xperience/QuickSettings.java
Quick Settings Pulldown: Left or Right side option (2/2)

Patch set 2 : Update dynamic summary
Patch set 3 : More dynamic summary work
Patch set 4 : Fix arrays, reduce duplicate code
Patch set 5 : Fix string
Patch set 6 : One more string fix
Patch set 7 : String nitpick

Change-Id: If73347993522f35b2c4d19e892388f37b04d6c22

Conflicts:
	res/values/arrays.xml
	src/com/android/settings/xperience/QuickSettings.java
Quick Settings: Add Network mode tile (part 2 of 2)

This commit also inlcudes a bit of code cleanup and sets the
default tiles to AOSP defaults

Change-Id: I735878997a807450368641faad52ba4b5e8eadf5

Conflicts:
	res/values-fi/strings.xml
	res/values/strings.xml
	src/com/android/settings/xperience/QuickSettings.java
Add Sync tile (2/2)
Quick Settings: Clean up Torch tile (1 of 2)

Change-Id: I1e047278879ef88c71f81c3078760e1d1ff57fbd
Settings: Add NFC Tile to Quick Settings (1 of 2)

Change-Id: I7099c9d29864a3b4f18c60d472cd7e78eb5e11b1

Conflicts:
	res/values/strings.xml
	src/com/android/settings/xperience/QuickSettings.java
	src/com/android/settings/xperience/QuickSettingsUtil.java
Settings: Use new Lock screen drawable

Credit to Björn Lundén for drawables

Change-Id: Iffd6d8574448f69f876ea4ccd1f6e15d60b92982
Settings: Add Screen timeout Quick Settings Tile (1 of 2)

Change-Id: I385ef755ad7cf4a3c02dd8c7b739d5cb33aa2e90

Conflicts:
	src/com/android/settings/xperience/QuickSettings.java
Simplify quick pulldown summary logic and improve 'translatability'.

As word ordering on non-English languages does not necessarily match the
English word ordering, make quick pulldown summary more flexible. German
translation is included as an example for using the new functionality ;)

Change-Id: If92ab3d7a1ccc60022e79d22b5b8407bd8fb98ec

Conflicts:
	res/values-de/strings.xml
	src/com/android/settings/xperience/QuickSettings.java
QuickSettings : Fix tile removal

Remove tiles if the device doesn't support that feature.

Change-Id: Ib50f7d91a0a8d6bf37aa3b5f8af843d3f14f0076

Conflicts:
	src/com/android/settings/xperience/QuickSettings.java
QuickSettings : Filter tiles from default

Filter unsupported tiles from default.
Fixes re-arrange issue found on tablets post reset

Note : Please reset quicksettings after this commit to fix issues.

Change-Id: Ib92a8fc7e5e23baefb1e83a0309e73879ca64515

Conflicts:
	src/com/android/settings/xperience/QuickSettings.java