Make input device class global

Input devices in Xorg are global, so our VNC class around them should also be. We also need to handle when the devices are removed as part of a server reset. This should close issue #5.