Statusbar behavior: Auto hide options [1/2]

We can now choose to auto hide when there are no non-permanent notifications, or non at all.

This is HardCorePawn's "Specify notification types for Auto Hide.."
& kufikugel's "take notification size into account.." applied to our statusbar behavior pref.
Credits to both of them!

- Fixed auto hide logic

Signed-off-by: Andros Rosa <andros2011@gmail.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
WRITE_SETTINGS permission is a problem for QuickPeek

so let is handle over the statusbarmanagerservice

Change-Id: Id88147ad814bc1603df5c6c2e538ace06585dcc6

Conflicts:
	core/java/com/android/internal/statusbar/IStatusBar.aidl
	core/java/com/android/internal/statusbar/IStatusBarService.aidl
	packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java
	packages/SystemUI/src/com/android/systemui/statusbar/tv/TvStatusBar.java
	services/java/com/android/server/StatusBarManagerService.java
Frameworks: reenable all keyboard features for 3rd party keyboards

use like quickpeek statusbarservice for it.
Gives us as well for other future features more
flexibility

Change-Id: I1e9e2497212d27eacbbb63f64961361aaed9aee7

Conflicts:
	core/java/android/inputmethodservice/InputMethodService.java
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java
	packages/SystemUI/src/com/android/systemui/statusbar/tv/TvStatusBar.java