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

Change-Id: I0b2821a9c725ada19f70d77855bb6d2a794ce5ca
[1/2] Base: Add support QS ribbon mode

introduce flip vertical

Change-Id: I34e1f31e1e91d72ac6623e0fbae8435a5f60d138
Merge commit 'refs/changes/57/5657/10' of https://gerrit.omnirom.org/android_frameworks_base into omni-android-4.4

[1/2] Base: Add support QS ribbon mode