Add Quick settings customizations, (2/2):

Based on SlimRoms:

https://github.com/SlimRoms/packages_apps_Settings/commit/fea8eee396b8b067bb67b3fabd0c05b0f6980861
https://github.com/SlimRoms/packages_apps_Settings/commit/b6cf6a3a0ed58a85e8bbec193afa7a0bd04a77d7

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.