Add Quick settings customizations, (1/2):

Based on SlimRoms:

https://github.com/SlimRoms/frameworks_base/commit/d85304fac9bde550beeeeca0dba2cd49686f20d7
https://github.com/SlimRoms/frameworks_base/commit/8a25648e21513382018c1d465ab902d1778d2d98

Included:

Tiles:

Airplane mode
Battery
Bluetooth
Brightness
Go to sleep
Location
Lock screen
Mobile data
Music
Network mode
NFC
Orientation
Quick record
Reboot
Screen timeout
Settings
Sound
Sync
Torch
User switcher
Volume
Wi-Fi AP
Wi-Fi

Dynamic tiles:

Alarm
Bug report
IME
USB Tether

Customizations:

Colors and transparency:

Tiles background color
Tiles background pressed color
Tiles text color
Tiles background transparency
Own color for mobile and Wifi network activity icons
(optional)
Reset color values to Android- or Darkkat defaults

Options:

Tiles per row, (3, 4 or 5)
Duplicate tiles per row on landcape

Tiles and layout:

Add, delete and/or change the order of the tiles to suit your needs
Reset tiles to default
(remove all tiles will disable Quick settings, see known bugs)

Known bugs:

Network mode tile isn`t working at all

Remove all tiles, (disable Quick settings) will result in a FC of SystemUI
When Quick settings are disabled, adding a tile,
(enable quick settings) will result in a FC of SystemUI,
in both cases, the systemUi will start again without problems.