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
Framework: Fix blacklist support

Copy & Paste isn't a good friend for programmers ;)

Change-Id: Ic6ab81462530f614b9e896cb098590241accb192
Merge "Framework: Fix blacklist support" into cm-10.2
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 'upstream/cm-10.2' into HEAD