SQUASHED: add gesture support

---

allow to detect gestures

this change adds a gesture detector to the workspace, which allows
detecting gestures.
it also adds a new preference entry called "Gestures", where the
user can set gestures.

currently supported is double tapping and turning the screen off

Change-Id: Ia17a8014362db20597c4d321bcfc9f2f57360a27

gestures: allow to expand status bar

Change-Id: I2d5795709303ddf062f1f9c430fc812b96a7fdc5

gestures: allow to define longpress gesture

if set to ACTION_NOTHING, it does the default gesture
else it processes the custom action

Change-Id: Id1d2b53b98370858ce3c3b73274a7b8106761bd9

gestures: add swipe up and down detection

Change-Id: Ib2f7372b24b823123e3ac387d0b949eea7cb4702

gestures: use listener for action processing

Change-Id: I65b6db0837e2538b773b5b6bd20897091539852a

gestures: allow to toggle torch

Change-Id: Iba185d176ba1bfe6f7408718e3e8be78c4368a41

gestures: allow to play / pause music

Change-Id: I59de27866fbbceda1304a0f8ac26da77db968da3

gestures: dismiss dialog if showing to prevent crashes

Change-Id: I493b015c4f03eae37c4f0e8fd1d0be39c9e84059

gestures: allow to toggle silent mode

Change-Id: Id07d3ad2de3cc3ba6683309bfde88749d900d0e2

gestures: previous / next song

Change-Id: I3faa07b8b25be1b84466f64c970b076549b44772

gestures: correct string, its "Choose action", not "Choose gesture"

Change-Id: I1dcba58ae8310610df074ab1a51dcb45d024c244

----

Change-Id: I3384aef6eb59be3555abac7b7b567537e78cf1b0
gestures: disable torch action for now

Change-Id: I45d1439a80ec08ddd0bd0cae557e30236b06b424
Theme: update to Material

Change-Id: Ib0a25467155f5e2f5f5ed0444c52c40c250c4397
allow to configure screen orientation

Change-Id: I43b5f022a084fe0474c4d47245781e237c6951b8