Revert "fix KeyEvent.java to allow build"

This reverts commit c654ed90451c42be8c61742b86918b2a1617362d.
add function keys for asus docks (reverse-merged from commit e24b3bd9a1eb77574035006a4a15b519a33017f6)
fix dock functions (reverse-merged from commit 52089bc3c46c6ffda2e37364a04770d3383941c7)
Dispatch keys to a device specific key handler
DeviceKeyHandle: The device should consume only known keys

When the device receive the key, only should consume it if the device
know about the key. Otherwise, the key must be handle by the active app.
Also make mDeviceKeyHandler private (is not useful outside this class)

Change-Id: I4b9ea57b802e8c8c88c8b93a63d510f5952b0700
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>