[udev] Add small utility to check for udev paths

Add small utility to check for udev paths that can be used
for usb cable insertion/type detection in case usb-moded cannot figure
it out.

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>