Navigation bar dimensions and Master switch (1/2)

- Change height when in portrait
- Change width when in landscape
- Option to enable or disable nav bar

This is partially ported from SlimRoms
Thanks to @kufikugel
Credit to @cristianomatos

PS2: Rebase
PS3: Fix whitespace and tabs
PS4: Fix more whitespace and tabs

Change-Id: Id7d3a6f52856b58e4074ed0f8e4231c92349d11f
GlobalActions: Set the initial status of airplane mode toggle

Actually, the initial status of airplane mode toggle is set to false
when the power menu dialog is initialized.
This causes an issue if you set airplane mode and then reboot.
After the reboot, the dialog displays the wrong airplane mode status,
eg. "Airplane mode is not active", and if you toggle that option, a wrong
intent is sent again to put ON the airplane mode, instead of OFF, the
toggle (that is in transition state) will be set disabled.

This commit fixes this issue.

Change-Id: Id30355c1e090355645c437086c79ab59093c27a8
Revert AppOps From CM-10.2

revert 7aa64c9b0aba20aebd0fc41017b5b4ddcc307ed1

revert 93fdceb0ed55dbd6221da6e1216a5397bf4f0f44

revert 8576722d3c1e3ff471169e46536eb5ca0f4a3bf6

revert c7bc76ffcfe617b2993bd7c4f7ecf861b97e7bb8

revert 38d3d393537af182d6962363b35f23063f63d15d

Change-Id: I2f82356ca003584361732a4e876775beb4a34820
Merge remote-tracking branch 'PAC-man/pac-4.4' into pac-4.4