[1/2] base: hardware button enhancement

-added "go to sleep" action
-cancel "kill app" action if finger lifted before timeout

Change-Id: I842933da3691da3b422926dd771e399b5adbab59
Merge remote-tracking branch 'cm/android-4.4' into android-4.4