Digital user input and HID module implementation for PAD

These changes include:
* An implementation of HID module PAD emulation.
* A simple key mapping system which supports multiple devices and front-ends.
* The connections needed to route input from both GLFW and Qt.
I'm going with a regular array, in this case. I'll definitely be using the range-based for loops from now on, however :tada: