more reworking of the kobject uevent string parsing code. (dm)