Merge remote-tracking branch 'upstream/develop' into develop
Make distinction in apt between removed and purged pkgs

This fixes #4972 by allowing removed packages to be purged using
pkg.purge (and pkg.purged states).
Merge remote-tracking branch 'upstream/develop' into develop
pkg mod_init change proposal
I want to allow the gentoo users to set use flags and keywords directly
in pkg.install, but to do this I need to enforce a specific enviroment.
So I thought I'd add to pkg mod_init the ability to execute a special "ex_mod_init"
function from the execution module.
In this way the new ebuild.py will be able to do its checks.
The others pkg modules will not need to be modified.
What do you think about this?
Return empty dict for list_pkgs(removed=True) where not supported

This commit implements the new 'removed' kwarg added to apt (and the
pkg.purged state) in 806342d.
Perform service availability checks first for all service states

This commit makes service states return more meaningful/accurate
information by first checking if the service is available before trying
to do anything. Fixes #5464.
slight comment tweak for consistency
Removed runner docs qualifier

I'm not sure what this was for...
some pep8 fixes, mostly whitespace
Merge pull request #5512 from hulu/pep8-mostly-whitespace

some pep8 fixes, mostly whitespace
Merge pull request #5499 from faust/pkg_proposal

Pkg proposal
Merge pull request #5511 from whiteinge/doc-runner-runner

Removed runner docs qualifier
Merge pull request #5503 from terminalmage/issue4972

Allow pkg.purged to purge partially removed packages
Merge pull request #5508 from terminalmage/issue5464

Perform service availability checks first for all service states
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.
Fix #5513
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.