Quicksettings customizations Slim style

First thank to CM for the general base idea.....but we changed, fixed a lot
as well the UX is not the best on original implementation. It is way to much
to list all down what we changed and ehanced and fixed...so just a small overview

Whatever this patch adds following tiles:

Airplane mode
Battery
Bluetooth
Brightness
Go to sleep
Location
Torch
Lock screen
LTE
Mobile data
Orientation
Settings
Sound
Sync
Wi-Fi AP
Wi-Fi
User switcher
Network mode
NFC
Screen timeout
Quiet hours
Volume
Expanded desktop
Music - new nifty one ;)
Reboot

and the usual dynamic tiles which are always dynamic now. As well we put all setup
options into one screen.

as reference see

http://s1.directupload.net/file/d/3461/phhimlo7_png.htm
http://s7.directupload.net/file/d/3461/fvaxgins_png.htm

and video
http://www.file-upload.net/download-8362155/drawer.mp4.html

PS2: QuietHours broadcast
PS3: Context derp.
PS4
- revert QS battery tile implementation and move it into new
  Battery tile
- move click action to longpress on alarmtile for more consistent
- collapse qs for location tile to show the confirmation dialog
  when turning on
PS5: change sleep screen icon back to our power icon and add longpress
     action to open power menu
PS6: rename GpsTile into LocationTile and do not remove it on devices
     without GPS due that location is always available over wifi as well
     minor icon corrections
PS8:
- added expanded desktop
- added Music tile
- minor fixe
PS9:
- tweek the music tile...check the video
http://slim.mimic.ca/images/music_tile.mp4

PS10:
- better controll of the picture stream on the music tile
- send a broadcast if no bindable music callerId is present
  to force music player to start
PS11:
- fix location tile
PS12:
- add lincenses and changed on some tiles the click and lonpress behaviours
  to be consistent
PS13:
- tweek screen time out tile and added never as option to it
PS14:
- added reboot/recovery tile
- added text color
- tile quanitity per row including text resize
- added tile bg color
- added tile bg pressed color
- added tile bg alpha
- added langscape duplicate or not option
- some tweeks and minor fixes
PS15:
- remove depreciated code
- reboot tile add a small delay before calling final reboot
- remove added padding....not needed any more with the new style
PS16:
- better settings support
PS17:
- add more dynamic tile layout to handle better 3,4,5 tiles in a row
PS18
- wifi tile as well sorry

custom tile not sure if we do in initial version...lets see. Settings is a lot
work due that I want to change a lot on our old version

Other then that it seems to be done now :)

so lets go doing the settings lol

Change-Id: I41c4e06198b0849dba3eefa6f05536d606b49d3b
Frameworks: Quiet Hours Change Logic (1/2)

12:00am - 12:00am = 24 hours
	(Or any "==" time)

This makes more sense for the user
	if they have the direct ability
	to toggle quiet hours.
	The feature should work as-is
	and in a 24-hour on/off manner
	through using the toggle.

Change-Id: Ib10ab5c1ac9278ab1f195d48f88de7357722979c
Framework: Quick Settings Pulldown thanks CM

Change-Id: I322ec2726ec3e6741ea68dee77b56b73c247d11c
telephony: SignalStrengh: Don't calculate a LTE snr if the srq is invalid

If the previous values are invalid and signal quality is -1, chances are there's
no LTE signal at all, so don't calculate the SNR and mark it invalid as well.

This fixes the strength indicator in GSM devices where it was being skewed
by the ghost LTE value

Change-Id: I070573401c141aa99941a332ee256246697abb90
Fix Duplicate Alarm : Replace Cesium with Classic

Change-Id: I0c83d73b8c2cad3cee42f7d9f268dde6a4dd3420
SystemUI: add CHANGE_NETWORK_MODE permission

Required for 2G/3G quick settings toggle

Change-Id: I72392bd995d12c22388c99f34abb431cd0be8f0d
pm: Prevent a system_server crash is package name is null

 * If an app is placed on the system partition and it doesn't specify a
   valid package name, system_server will crash forever. Just skip it.

Change-Id: I9b911d40b3c4d7cf6fac8cc0166a2ba359329b7b
Prevent lock/unlock sound during music playback

Lock/unlock sound mixes in with music and causes
lag and distortion.

Change-Id: I9d3582c6bf28aa62a5a6712bc9e89eb2f73e0288
Fix the resource IDs used by CTS tests

* Google didn't make networkAttributes a public resource, so everyone
  is failing CTS after adding new resources to the framework. This
  fixes it.
* Same thing with config_useFixedVolume

Change-Id: I720b36d0922b636fe30f691f016add6b8cc7ade3
fb: fix qs battery tile on normal icon due of left over

I forgot to commit a change so on icon and icon percentage there
was still a margin set. Remove the magin to fix it

Change-Id: If8848835d2371b44d3dc414a9f30af03f222a895