[2/2] base: overflow menu tweaks

Combines two features:

1) for devices with a hw keys support force show the
3dot overflow menu in applications. This allows remapping
of the menu key to other actions and/or better support devices that
have hw keys but no menu key like m7.

2) for devices with soft-keys force hiding the 3dot overflow
menu by emulating existence of a hw menu button and only
showing a navbar soft menu key

PS5
set default of force overflow to 1 if this is a device
with hw keys but without menu key e.g. m7

PS6
checking config_deviceHardwareKeys is not enough

PS7
too stupid

Change-Id: Ic7a7e4bde440cee0e274e6ea871c952998a56dd7
[1/3] base: omniswitch as default recents

OmniSwitch provides broadcast events for showing
and hiding the overlay

We need to make sure that OmniSwitch service is really
running else we will get no recents at all. Also on startup
it will take some time until the OmnISwitch service
has been started.

OmniSwitch will send a service start and stop broadcast
that will guard the usage of OmnSwitch

Change-Id: I31c5ae8839603b6e92b1a4613c793a9427aad2e2
Merge "[1/3] base: omniswitch as default recents" into android-4.4
Merge "[2/2] base: overflow menu tweaks" into android-4.4
merge changes from Omni 4.4 into local branch

Conflicts:
	core/java/android/provider/Settings.java
	core/java/android/view/ViewConfiguration.java
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java

Change-Id: Ia37c4902b9f1480bd73caf7361de7afc4db2a635