network.py module code cleanup. Also fixed a bug in the netmask regex that was resulting in missing ipv4 netmasks when ifconfig is used.
network.py module code cleanup. Also fixed a bug in the netmask regex that was resulting in missing ipv4 netmasks when ifconfig is used.

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt