Base: update Immersive mode

allow choosing different state of navigationbar and statusbar like expanded desktop

taken from AOSPA

https://gerrit.paranoidandroid.co/3570
https://gerrit.paranoidandroid.co/#/c/3569/

Immersive Mode
- Front: Toggles Global On/Off.
- Back: Toggles modes (Full/Nav only/Status only).

fix build
rebased
rebased
rebased
fix build
fix build
not flip if devices not support navigationbar

Change-Id: I0b2821a9c725ada19f70d77855bb6d2a794ce5ca
Base: update Immersive mode
Merge commit 'refs/changes/51/5651/21' of https://gerrit.omnirom.org/android_frameworks_base into omni-android-4.4

https://gerrit.omnirom.org/#/c/5651/13

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java