SDLEvents: add a way to lock the event loop, fix thread destruction
Allow to populate a Mapping with an item from InputDevice::enumerateDevices

Also add an inputEventReceived signal on InputDevice, to be mostly used for
dynamic configuration of a mapping on the UI
Keyboard device: use an event filter to catch key event
Add a way for InputMapping to be configured by input device events