Framework: Fix blacklist support

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

Change-Id: Ic6ab81462530f614b9e896cb098590241accb192
Allow applications to override power key

Allows user to take use power key to take pictures/videos eg

Change-Id: I85a1e1761199f4604672be42a3a5005227f5451a