Support symlinks as device specifications
See #10 (closed) (#10 (closed) ). This allows a symlink to be specified on the command line as an argument for the -d option, by dereferencing the symlink prior to its use as an index into sysfs.
As requested by @dcbw on the mailing list, I extracted __qmi_utils_get_devname() into a single site.