Framework: Add Landscape layout for ECA

Now: http://i.imgur.com/R5mfgrb.png
Before: http://i.imgur.com/uHmnv4H.png

Change-Id: Ia8ce0d89814f99a2b9ec6078a301502e34a035b0
base: Moves isAvailableApp and isAppInstalled to PackageUtils

Change-Id: I78494839fb2e521666fae82d2168131fa2bbd093
base: Volume button wake: quick code clean

Change-Id: I459af575213f9e4c7f3ad065556a3c875e57721c
[1/2] base: easy switch soft keys

make it easier to switch to soft keys for devices
with hw keys. this is already possible now but the
settings are spread in different categories and require
multiple steps and using the property qemu.hw.mainkeys

this adds two new settings
1) allow enabling navigation bar during runtime on devices
that dont have it already enabled in the config.
This replaces the usage of the property qemu.hq.mainkeys

2) allow disabling hw keys (actions, brightness, haptic feedback)
with a single setting. This requires that the device supports
config_button_brightness_support config_has_hardware_buttons
and config_deviceHardwareKeys

as part of this the button brightness settings screen
has been moved to a separate screen

TODO: disable google search on long press menu

PS4:
-fix brightness settings for multi-user

Change-Id: I15b406de77f7299b571335e0e29eab7e9c762473
[1/2] base: Headset plug: Disable if music is active

PS6:
-I want to understand :)

Change-Id: I7ae31121b08fbf99c32bade8df4f291a99b1abaf
Merge pull request #3 from omnirom/android-4.4

merge latest omnirom source