OmniSwitch: added icon pack support

PS5
Add iconMask/iconBack/iconUpon/iconScale support

Change-Id: Ie1bb9e5d9275bc734d484cc00ce222f2dee06116
OmniSwitch: cleanup and fixes

-use white shadow color also for rambar
-added context menu in all views
-dont use MainActivity to allow background processing
-fix crash for apps without icon

Change-Id: I62c7ded602f5a2b1a3c29495473c554e8d3c74b6
OmniSwitch: fix IndexOutOfBoundsException

This might not be the final solution but for now
fix the crash

05 17:54:17.560 E/AndroidRuntime(18708): java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
04-05 17:54:17.560 E/AndroidRuntime(18708):     at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
04-05 17:54:17.560 E/AndroidRuntime(18708):     at java.util.ArrayList.get(ArrayList.java:308)
04-05 17:54:17.560 E/AndroidRuntime(18708):     at android.widget.ArrayAdapter.getItem(ArrayAdapter.java:337)
04-05 17:54:17.560 E/AndroidRuntime(18708):     at org.omnirom.omniswitch.ui.SwitchLayout.onDismiss(SwitchLayout.java:326)
04-05 17:54:17.560 E/AndroidRuntime(18708):     at org.omnirom.omniswitch.ui.SwipeDismissHorizontalListViewTouchListener.onAnimationEnd(SwipeDismissHorizontalListViewTouchListener.java:408)
04-05 17:54:17.560 E/AndroidRuntime(18708):     at android.animation.ValueAnimator.endAnimation(ValueAnimator.java:1056)
04-05 17:54:17.560 E/AndroidRuntime(18708):     at android.animation.ValueAnimator.access00(ValueAnimator.java:50)

Change-Id: Iea4e5f8883b9d291091a901ff94637b11c3c5b0f
OmniSwitch: fixes for handling disabled apps

Disabling apps is not sending a removed intent so make
sure we remove disabled apps from favorites on next update.
Also listen to PACKAGE_CHANGED to update package list
in that case and only if service is really running.

Change-Id: I73838d21f3e21988afd195df3cde59f862bc3ac2
Merge remote-tracking branch 'upstream/android-4.4' into kk-x