(BlackBerry) Gamepad support on BB10, keyboard for all

Here's the current state of adding gamepad and keyboards. I've tested a wiimote on my Z10, and the official BlackBerry Mini BT Keyboard on PlayBook and the Z10. 

For the keyboard, I'm not sure if generic ones are supported. If they are, then I'd probably have to make sure all keyboards are auto-detected correctly as I'm currently checking the ID string for the official one. I don't like all the ifdefs but it should only be until the PlayBook gets BB10, and I didn't want to have too much duplicate code.

Let me know if there is a better way to do things.