6 clock related patches

Revert "SystemUI: fix delay in applying am/pm setting for notification clock"
Revert "4.2 Transition: Notification Header datetime click"
Revert "SystemUI: Forward port Statusbar Clock and Date actions"
4.2 Transition: Notification Header datetime click
Fix status bar Clock events
Add clock styles and Clock color picker

This commit is a combination of CM, AOKP and SlimROMs work

features:

- Clock and date enable/disable
- Clock and date position
- AM/PM styles multilang support
- Fully customizable date in style and format
- Fully dynamic settings
- Fix update am/pm style on statusbar
- Fix statusbar clock click and longclick events
[Framework] Port BatteryBar (2/2)

- Adds Battery bar with following features
- location set
- color
- aligment
- thickness
- animation

- dynamic slim settings

Change-Id: Iacb3e38505b0ab30bb3f9df54231aeb2c79c20f1
framework: add RAM Bar to Recents

Updated version with improvements in calculations and translation
SystemUI: Option to display Quick Settings when there are no ongoing notificaions

Added member function hasClearableNotifications to class
PhoneStatusBar. This function returns true when clearable
notifications are present on the status bar. Also, onTouchEvent in
NotificaionPanelView now flips to Quick Settings if there are no
ongoing notifications, and the QS_QUICK_PULLDOWN is set accordingly.

Change-Id: Ia77f90b19c7b408b7fc9376b6914e3173b734655
Fix Battery bar 2dp and 3dp graphics glitch

and a bit codestlye

cheers

Change-Id: I7e01c351fdfc3e3f5adfaab9eba870a4b022cb47
Frameworks: Optimize more and fixes

Batterybar this time

- unregister observe
- fix another old old glitch in center mode
- code cleanup

cheers

Change-Id: Icddcfe7664b24dfb54ea45c34ce1b179fc368ef2
Add FastCharge toggle and powerwidget button

Originates from SLIM
Some improvements by fishears

Change-Id: I585aafacba766fd0a8b2a86e265a2357c358d415
audio: add support for ALSA headset detection

- Add new function to process headset detection
  events from the ALSA framework
- Support wired headset and headphone switch events
- Support detection while boot up
- Support headset button

Change-Id: I79665770a75f8f37f27b7b046e5c4be3e7feb89f
Double the pie detection time

Change-Id: I3f7cb6e1113226e07defdba5bece05f22c2dd71d
Add 2G/3G option to profile connections (1/2)

Change-Id: I55d0768c9eeecb7dcce97c6d6390e339d678d0c4
QuickSettings: Camera tile

Change-Id: Id0beb3dd559536bb5571ddc87cb0bcb4945b1a77
Make contacts app aware of blacklist being disabled (1/3)

Change-Id: Ic59f370a6e78390c9b2b1510e0ec85b2f4af9146
Add ability to change ringer mode from the lockscreen

Framework part of lockscreen target which is able to change ringer mode
between silent/vibration and normal

Change-Id: I8e95379ace8d20741fae3e298d742db7e77643d1