Sweep2wake and Doubletap2wake for the Nexus 7 (flo)

Signed-off-by: flar2 <asegaert@gmail.com>
New sweep2wake/doubletap2wake options

/sys/android_touch/orientation controls whether sweep2sleep works in portrait, landscape, or both
0 = both
1 = portrait only
2 = landscape only

/sys/android_touch/pwrkey_suspend  makes the power button toggle s2w/dt2w
If set to 1, pressing power button to turn off screen disables s2w/dt2w and pressing the power button to turn on screen re-enables s2w/dt2w

Signed-off-by: flar2 <asegaert@gmail.com>
Disable s2w/dt2w when magnetic cover is used

Conflicts:
	drivers/input/lid.c
	drivers/input/touchscreen/ektf3k.c