policy: fix menu key for devices with no physical menu key

Initialize key behaviour correctly for the case where the respective key
isn't present in hardware.

Change-Id: I424f879dcf5e09c0897d7ebf7646efe36661d108
Fix virtual key press detection.

Virtual key events can be injected from anywhere, not just
PhoneWindowManager.

Change-Id: Ia9529c6534a208bf713912fc63f81a016754c6a6
Merge "policy: fix menu key for devices with no physical menu key" into cm-10.2
Merge "Fix virtual key press detection." into cm-10.2
Merge remote-tracking branch 'cm/cm-10.2' into cm-10.2