Reimplementation of triple button pull request

This is the third reimplementation (and fourth pull request) of my changes related to triple events for XPosed Additions module. I will not cancel the other open pull request yet, as features are missing.

Some patches have been merged from the 3.x.g branch, some were in spirit implemented but slightly different, others are not included. As some features I want is not there yet, this is a reimplementation of those features. Most of my changes was done in PhoneWindowManager.java, so they were not merged despite the merge history. This is an early merge to hopefully work on the same codebase again.

Changes so far:
* PWM only: ADT changes only: Cleanup, correct indentation, quick-fix (add final) (to simplify further changes)
* Add Long-press "Default" key timeout and tap "Default" and "Long-press" timeout (this was the only merged from 3.x.g)
* Add hidden setting allow_remap_any, to simplify testing in GENYmotion
* Only tap delay if needed: If there are no more events (double or triple), click actions can be executed immediately. This required some internal restructing 

There are a few TODO and xxx in the code.