tools: add event_parser tool

it does the complex parsing needed to read the event info exported
by the kernel under /sys/bus/event_source/devices