oppo-common: add DeviceHandler package

this apk just keeps the handler which peforms the gestures and double tap
when screen is off.

We will extend it on a later point with settings....but we will use instead CM settingsour DSLV
which will allow to add any action the user want (#link:SlimActions).

Change-Id: I8e70d0656d97376c2100ce9a01afe5ff70fd64ba

Conflicts:
	common.mk
	overlay/frameworks/base/core/res/res/values/config.xml
bacon: let the frameworks handle the camera.

Due of changes we have in fb this feature does not work well. We introduced
in the past a function in the keyguard which handles all possibilities which
can happen on the keyguard in combination with slim features.

On a later point we should do for a secure lockscreen if the camera
supports it a secure camera. Way it was I do not like due that to much
3rd party camera do not play well with the secure intent.

So like it is now is for now the best solution.

Change-Id: I15e092c2dcce1081e836c7e54760196c4936b2bf
bacon: add other gesture for torch and cleanup (1/2)

The FLIP_CAMERA_SCANCODE is not used at all at current state. We replaced
last week torch arrow down gesture with silent/vibrate/sound functionallity.

Some user want still to have torch via gesture. Arrow up is a bit more natural
for it due that it points visually to the torch on the device.

So introduce new v up gesture to toggle the torch.

For now we just use FLIP_CAMERA_SCANCODE which hat the unused keycode
249 due that otherwise we need to use 256 which is out of unsigned char
keycode in kernel. We can change the whole logic on a later point if we
need to trigger more gestures.

For now this is a reliable way.

REMARK: Third party kernel torch will simply just not enable as long the kernel did
not integrate the new keycode 249

Change-Id: I7d11836c0d7ef41a6cd9f4926510ec51704b843b
oppo-common: add screen off gesture control - custom action per gesture

Stock version does not give the user the ability to bind other actions
to the different available gestures.

This commit adds the ability to asign whatever custom app or shortcut
to the screen off gestures or a bunch of predefined ones.

Change-Id: I50821c90434e547b5faaea86a65b1e80606f37c2
Make Device Handler its own repo