Bug 1014418 - Dispatching hardware button event in Gaia

https://bugzilla.mozilla.org/show_bug.cgi?id=1014418
Please move all tables above into `HardwareKeyManager.prototype`