Consolidate network functions in salt/utils/socket_util.py

This commit moves several functions from salt/modules/network.py to
salt/utils/socket_util.py, allowing the code to be re-used to flesh out
salt/modules/win_network.py.
Replace refs to salt.utils.socket_util.ip4_addrs()

8156cb6 made this function redundant. Replaced refs with ones to
salt.utils.socket_util.ip_addrs().
Update ipcidr matcher to use network grains

This commit makes the ipcidr matcher use network grains, which
fixes #5059 (and ipcidr matching in pillar) by using the minion's IPs
rather than the master's.
rename salt.utils.socket_util to salt.utils.network

This change reflects the changed role of this module, as a more general
collection of networking functions.
Add note on why kwargs are ignored

This comment clarifies why the kwargs are not used in the cmd.run state.
Merge pull request #5515 from terminalmage/quickfix

Add note on why kwargs are ignored
Merge pull request #5514 from terminalmage/issue5059

Fix IP/CIDR matching in Pillar
Fix kwarg parsing: allow only python formatted kwarg names, apply yaml to value only, allow all args to be passed as kwargs
cleaned up and finished kwargs parsing upgrade, added et fixed doc
more mostly-whitespace pep8 fixes
Add missing imports for Windows
Merge pull request #5521 from UtahDave/develop

Add missing imports for Windows
Merge pull request #5520 from hulu/pep8-more

more mostly-whitespace pep8 fixes
log only after logging is set up
trivial refactoring
pep8 spacing fixes
Merge pull request #5522 from UtahDave/develop

log only after logging is set up
Merge pull request #5523 from hulu/pep8-more

another batch of pep8 fixes
pep8 whitespace fixes
Different attempt to import wmi