Add Hard Reset when power is kept pressed
Original by: @gerhardol

Fork from https://github.com/gerhardol/xposed-additions/commit/b73b41dcacd794ca1d8fbfd84ae189ff6c82b533
Mediator: Fix several power issues

1. Do not check WAKE, only WAKE_DROPPED. This is the default flag for turning on the screen. The WAKE is only to move out of deep sleep, which the module already does when handling events during screen off.

2. Some device configs does not add WAKE_DROPPED to the power key, since Android already has the key code hard coded into turning on the screen.
Resources: Change Press/Tap timeout values
XService: Fix array index
Add Native Torch Support
Add support for mapping to DPad
Mediator: Do not cancel combo until both keys are released
Mediator: Remove Torch test and re-enable CM Intent
Merge pull request #12 from elevengu/3.3.x

Add support for mapping to DPad
Mediator: Cache device validation to reduce IPC calls
Mediator: Re-add simple Torch app locator. Only use the Native service as last resort.
Re-enable Forced Haptic Feedback option
Bump to version 3.3.4
Replace remap timeout ListPreferences with SeekBarPreferences
Merge branch '3.3.x' of https://github.com/SpazeDog/xposed-additions into 3.3.x

Conflicts:
	src/com/spazedog/xposed/additionsgb/backend/pwm/EventManager.java
	src/com/spazedog/xposed/additionsgb/backend/pwm/Mediator.java
	src/com/spazedog/xposed/additionsgb/backend/pwm/PhoneWindowManager.java
Allow context: apps running over lockscreen

Previously, any app running over the lockscreen just has the context
"guard". With this change, the lockscreen itself reports as "guard", but
apps (like Camera) will use their own contexts.
Merge pull request #13 from shayneholmes/context-switch-on-apps-over-lockscreen

Allow context: apps running over lockscreen (lock screen camera)
Merge branch '3.3.x' into 3.3.x.g

Manual merge, not verified.

Conflicts:
	AndroidManifest.xml
	res/values/arrays.xml
	res/xml/activity_screen_remap_main.xml
	src/com/spazedog/xposed/additionsgb/backend/pwm/EventManager.java
	src/com/spazedog/xposed/additionsgb/backend/pwm/Mediator.java
	src/com/spazedog/xposed/additionsgb/backend/pwm/PhoneWindowManager.java
Merge branch '3.3.x' of https://github.com/SpazeDog/xposed-additions into 3.3.x
Merge branch '3.3.x' into 3.3.x.g

Manual merge

Conflicts:
	src/com/spazedog/xposed/additionsgb/backend/pwm/PhoneWindowManager.java