kbdlogger: Added code for device creation and removal

Used code and ideas from evdev.c and implementing this code based on the
kernel 3.7.x or newer. The minor allocation is handled by the input core.