DeviceKeyHandler : Allow handling keyevents while screen off

Some devices require the keyevents to be processed while the screen
is off, this patchset addresses that by moving the filter up in the call
hierarchy.

Change-Id: If71beecc81aa5e453dcd08aba72b7bea5c210590
Merge "DeviceKeyHandler : Allow handling keyevents while screen off" into cm-10.2
merge changes from CyanogenMod 10.2 into local branch