Use device hardware keys to determine if there is a menu button

Change-Id: I65fdf9dfb79234060181d6ddb514d6c994bfae44
Merge remote-tracking branch 'sgt7/cm-10.1' into cm-10.1-sgt7-linaro