Add support for QC's time_daemon

Enabled by BOARD_USES_QC_TIME_SERVICES=true, it requires the device
to provide its own time_daemon executable and libtime_genoff.so
proprietaries. The library should be copied by the device's setup
config to $OUT/obj/lib for linkage (and pushed to the final build,
obviously)

Change-Id: Ie6964dbe2692dc33fc04093a5b89b6922d8443c8
bootanimation: Only try to shutdown the mediaplayer if it was prepared

The bootanimation tries to shutdown the mediaplayer gracefully by waiting
on an asynchronous shutdown event for 5 seconds.

If, however, there is no boot sound, that asynchronous shutdown event will
never happen and the animation will be stopped for 5 seconds before shutting
down.

Visibly, this fixes the issue where the bootanimation would simply stop near
the end for exactly 5 seconds.

Change-Id: I77f5631368c7d9b9fef7941a6278af9c36032044
ContactsProvider: Make ContactCounts public like cm11

* Needed for Mms recipients list

Change-Id: I50010dc9d9759ecd04676df192ca2639e62d295b
Contacts: add the local group info and API

- add the group API for app to get/change group info
- add the group constants for app to acess the group
  database.

Change-Id: I205383ea3983675594f8fe414c466e7e55c6433e
Navigation bar tweaks

Original SlimRoms code, modded

By: crDroid:
- Toggle on/off (CyanogenMod already did but only for hw keys devices).
  Fusion allows all devices to do that for those using PIE apps.
- Nav bar dimensions (height and width)
- Here we also automatically revert CyanogenMod navbar toggle.

By Dragon:
- don't disable hw keys when navbar enabled, let do this manually.
- make working with modified hw keys code.

PS: I want to say a HUGE thanks to @kufikugel and crDroid.

Signed-off-by: Dragon <dragon7780@hotmail.nl>
Enable Notification Ticker

Signed-off-by: CallMeAldy <aldrin.holmes20@gmail.com>
Return: Smart Pulldown [1/2]

Adds the ability to directly open the QS panel when there are
no notifications present in the notification panel.
This commit combines the enhancement by HardCorePawn for detectin
notification types for the same.

Credits: kufikugel, HardCorePawn

PS 2-4 : Cleanup

Adapted to LP

Added Jubakubas commit

SystemUI: Smart Pull-Down - Any Notification (1/2)

PS
- fixed logic to go inline with all mode in settings - should be fixed on kk as well

Change-Id: I3c9b048f2616d2b8950930cc5bfac27c2364e826

Conflicts:
	core/java/android/provider/Settings.java
SystemUI: Reduce activation area a bit of quick pulldown

Change-Id: I06b3a50982930491c6fd4e70ceda3b1ceee28f87
Disable notification count on status bar
The red background with small numbers look a bit out of place
use a solid black not a gradient as background