Added net device type detection based on sysfs

Next step in cleaning type detection in NetworkInterfaces. Some additional cleaning is required. However, this patch makes it possible to handle devices renamed to nonstandard names (eth0 -> dmz0)