detect: Adding ipv4 netmask and cidr value

If an IPV4 address got found, its usefull to report its netmask and cidr
representation to add more context.

This will be used by AHC mode to determine what network is the common
point between all servers.

A typical output is like :
 ('network', 'eth0', 'ipv4', '10.142.32.227'),
 ('network', 'eth0', 'ipv4-netmask', '255.255.255.0'),
 ('network', 'eth0', 'ipv4-cidr', '24'),