Power menu customizations [1/2]

power
reboot
airplane
sound
profile switcher
user switcher
device lockdown
settings shortcut
bug reports

[mikeioannina]: Modify for CyanogenMod

Change-Id: I6f1ef036a5495ef49b9520c63df5ce322991cd08
perf: Per-app performance profiles

 * Performance Profiles is going to grow into a much more powerful
   feature which can apply advanced optimizations or power saving
   techniques depending on both the state of the hardware as well
   as the current applications in use.
 * Refactor the original code and move it into PowerManager so
   that it's managed from the same place.
 * Implement "automatic performance profiles". This feature will
   automatically select a profile when specific activities are
   running. Currently this list is static and engages performance
   mode for several benchmarks (trollface).
 * Added support for a new power hint, POWER_HINT_SET_PROFILE.
   Currently, these profiles are fired using a property trigger
   in init. This is easy, but the PowerHAL can do more.
 * Moved the setting to Settings.Secure and also wrapped calls
   to the service in the DEVICE_POWER permission. Nobody should
   mess with this stuff except the system.
 * Powersave profile will automatically activate Android's built-in
   low power mode.
 * Original patch by Jorge Ruesga

TODO:
 * Implement API for per-app configuration by user
 * Quicksettings tile

Change-Id: I140ebc0648c4cf05900e005923247c3180be8c93

Conflicts:
	core/res/res/values/config.xml
	core/res/res/values/symbols.xml
SQUASHED initial material dark rework

Quick Settings Theme Tweaks

Change-Id: I489debbbdb5db94d6f05182877493e73955e7b90

Conflicts:
	core/res/res/drawable/ic_lock_airplane_mode_off_dark.xml
	core/res/res/drawable/ic_lock_bugreport_dark.xml
	core/res/res/drawable/ic_lock_lock_dark.xml
	core/res/res/drawable/ic_lock_power_off_dark.xml
	core/res/res/drawable/ic_lock_reboot_dark.xml

Last material dark changes for the day part 2

Change-Id: I2f436a1be26b70c8c05964fd9e5ffd5340de9c2d

Conflicts:
	core/res/res/drawable/ic_lock_lock.xml
	core/res/res/values/colors_material.xml
	packages/SystemUI/res/layout/qs_panel.xml
	packages/SystemUI/res/values/colors.xml