Support comma-separated pkgs in 'name' param
apt: multi-pkg for remove/purge, optimizations

This commit brings support for the "pkgs" argument to the remove and
purge functions. In addition, the use of __context__ has been added to
list_pkgs. All functions which modify the package database will clear
the __context__ variable before running list_pkgs again to ensure that
changes are detected.
Remove unnecessary logging

cmd.run_all already logs errors to the minion at loglevel "error".
Remove redundant logging.
brew: multi-pkg for remove, optimizations

This commit brings support for the "pkgs" argument to the remove
function. In addition, the use of __context__ has been added to
list_pkgs. All functions which modify the package database clear the
__context__ variable before running list_pkgs again to ensure that
changes are detected.
ebuild: multi-pkg for remove/purge, optimizations

This commit brings support for the "pkgs" argument to the remove and
purge functions. In addition, the use of __context__ has been added to
list_pkgs. All functions which modify the package database now clear the
__context__ variable before running list_pkgs again to ensure that
changes are detected.
freebsdpkg: multi-pkg for remove/purge, optimizations

This commit brings support for the "pkgs" argument to the remove and
purge functions. In addition, the use of __context__ has been added to
list_pkgs. All functions which modify the package database clear the
__context__ variable before running list_pkgs again to ensure that
changes are detected.
PEP8
win_pkg: multi-pkg for remove/purge, optimizations

This commit brings support for the "pkgs" argument to the remove and
purge functions. In addition, the use of __context__ has been added to
list_pkgs. All functions which modify the package database clear the
__context__ variable before running list_pkgs again to ensure that
changes are detected.
solarispkg: multi-pkg for remove/purge, optimizations

This commit brings support for the "pkgs" argument to the remove and
purge functions. In addition, the use of __context__ has been added to
list_pkgs. All functions which modify the package database clear the
__context__ variable before running list_pkgs again to ensure that
changes are detected.
openbsdpkg: multi-pkg for remove/purge, optimizations

This commit brings support for the "pkgs" argument to the remove and
purge functions. In addition, the use of __context__ has been added to
list_pkgs. All functions which modify the package database clear the
__context__ variable before running list_pkgs again to ensure that
changes are detected.

The process by which packages are listed has been simplified, as well.

Missing comparison functions were also added.
remove solaris guards from parse_targets

pkgutil supports the 'name' and 'pkgs' arguments, so these guards
effectively keep pkgutil from working. They have been removed. Special
handling for solaris pkg_add should be done to gracefully handle an
attempt to use 'name' or 'pkgs' instead of 'sources' on package
installs, if needed.
pkgutil: multi-pkg for remove/purge, optimizations

This commit brings support for the "pkgs" argument to the remove and
purge functions. In addition, the use of __context__ has been added to
list_pkgs. All functions which modify the package database clear the
__context__ variable before running list_pkgs again to ensure that
changes are detected.
Require "sources" param for solaris pkg_add
pacman: multi-pkg for remove/purge, optimizations

This commit brings support for the "pkgs" argument to the remove and
purge functions. In addition, the use of __context__ has been added to
list_pkgs. All functions which modify the package database clear the
__context__ variable before running list_pkgs again to ensure that
changes are detected.
yumpkg{,5}: multi-pkg for remove/purge, optimizations

This commit brings support for the "pkgs" argument to the remove and
purge functions. In addition, the use of __context__ has been added to
list_pkgs. All functions which modify the package database clear the
__context__ variable before running list_pkgs again to ensure that
changes are detected.
zypper: multi-pkg for remove/purge, optimizations

This commit brings support for the "pkgs" argument to the remove and
purge functions. In addition, the use of __context__ has been added to
list_pkgs. All functions which modify the package database clear the
__context__ variable before running list_pkgs again to ensure that
changes are detected.
Modify pkg.removed, pkg.purged to accept 'pkgs' arg

Also moved the package remove/purge code into a single common function.
Merge pull request #5000 from terminalmage/issue3390

Add "pkgs" support for pkg.purged, pkg.removed states