Add convenience function for resolving names based on the prefix
libevdev_event_code_from_name()
requires the event type to be specified. This isn't really necessary because the kernel header uses prefixes anyway and we can guess based on the prefix which type it is. We should add some convenience function to be able to just pass the name into libevdev and get the type+code out.