Customizable Softkeys: Frameworks part

This allows enabling, and setting of sort and long press options
for softkeys.

Basiclly this catches the keycode in the PhoneWindowManager
before it is passed to be handled.

That being said it will obviously have the same effect on the navbar
since we just simulate those keys being pressed. To avoid this and
leave an option for a stock feel I basiclly have an if statement that
revolves around the enable checkbox in rc, which navbar devices wont
have access to. This is different from how cm did it but I think it
does a better job at preserving the stock behaviors if that is desired.

Also unlike CM I gave the all the buttons the ability to change both soft
and long press in true AOKP fashion. I can only test the short presses with
my navbar so long press it untested.

tabs and unused variables I forgot about...

added option for physical home button double click. right now you got 500 milisec
or 1/2 of a second to click again. If this is to long or to short let me know...
Mike had an idea about an RC setting for how long... I can do that just let me know.

derp on disabling double click, and prevent automagic double click

Huge overhaul to make prettier

Fixes for physical home buttons getting triggered after longpress, wake
lock, and double vibrate.

Unused variable.

Change-Id: I17300ad2f55bc669b26a086e311d2cb6097a4e77

Conflicts:

	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
**NASTY** workaround for YouTube's setVideoScalingMode exception