Bugfix from Isaac Dunham (new pci database has # comments in it) and some minor cleanups I had in my tree already.
logname and whoami are the same as id -un, so merge them.

Since the starting letters are greater than those for 'id' or 'groups',
we cn just check if the first letter is greater than 'i'.
atolx_range() is already added into lib/lib.c, in vconfig.c atolx_range() can be used in place of locally defined strtorange() function.