Add navbar customizations [1/2]

This patch adds:
- Navbar up to 5 buttons
- dynamic menu behaviour
- landscape navbar options as well now on tablets
- button glow color
- button icon color
- navbar user can set system or custom icons
- navbar height and width
- enable/disable navbar
- actions are vor navbar and available for the whole system over MagicActions.java
	back
	custom app or activtiy
	home
	kill app
	last app
	notification drawer
	ime switcher
	power menu
	qs pannel
	recents screen
	screen off
	screenshot
	search
	torch if it is available on the device

===============================
Fix: external storage problem NavRing and NavBar applications

If the user binds an app which is located on the
external sdcard and is rebooting the button icon
will be left blank because the navring/navbar is already
constructed before the sdcard is mounted. To avoid
this we listen to the app available intents.
If it is not available the ring target/navbar button shows the none icon.
 When available it shows the
correct app icon. So that the user can clearly see
this app is accessable or not. As well when the
user goes into mass storage mode or does
unmount the sdcard or whatever case could
happen that the application is not there.

==================================
enable navbar for hw key devices

we moved this part into PhoneWindowManager which controlls the navbar.
Due that we allow on all devices a navbar the check on PhoneStatusBar
is not needed and prevend the navbar on comming up on hw key devices

==================================
 do not inflate twice

small derp does not effect anything but as we know inflating is slow

Ported from slim rom

Change-Id: I2622e917d875460b941c8b56e2f8321f5a78ea57
fb: fix IME switcher notification shows on reboot althoug diabled

due that it gets overwritten

Change-Id: I12311df0081481814edf7250bd4959fd70792072
Merge "fb: fix IME switcher notification shows on reboot althoug diabled" into kitkat
[systemUI] do not call every time settings on clock intents

only needed for configuration change.

Change-Id: I39e9fd61392f22c8a4916f05b668fec19c5f4efe
Merge "[systemUI] do not call every time settings on clock intents" into kitkat
fb: allow to recreate statusbar, navbar and notification drawer

we need this for several upcoming features so add support for it.

Change-Id: I3d46456c586c99ccb43c41477f606d95e760044e
fb: navigationbar use always magicactions and add contentdescription

No need to use the AOSP implementation at all...we can send all actions
over SlimActions....so remove AOSP implementation and clean up

As well add contentdescription for accessibility events like talkback
for ppl who are not able to see. Gives the user all information back
needed.

Change-Id: I8f82f1139f1248d9cf8e762d6669bb75ae4e205f
Add big menu support back [1/2]

use the big menu button as permanent and get rid off the smal
3dot completly

Change-Id: Ia006397ecdb96302332dce9e3a8040f57ba776a5
[systemUI] fix rounding issues and take density into account

we are a multiDpi rom...and on 4.2 and 4.3 already the text
in the circle battery icon was on lower dpi a small bit up. The original
author compensated this with just a +1 to the Y value. Thats not the right
way...calculate the current dpi into the offset and all is well.

We want a perfect 4.4...so this nitpicks even if we are talking about
0.5dp maybe should be fixed

Change-Id: I8e12399ad12a2b5e4b7e69c3de2b63fbb6ae18e6