Remove  ipv6 and ipv4 stuff
Merge pull request #4125 from UtahDave/develop

Remove  ipv6 and ipv4 stuff
Fix regex in _get_upgradable

We're not using the data after the version number in the apt-get output,
so don't bother trying to write an elaborate regex for parts of the
string about which we don't care. Fixes #4107.

Also made some pep8 fixes to make pylint happy.
Merge pull request #4128 from terminalmage/issue4107

Fix regex in _get_upgradable
Add versions_as_list kwarg to version, list_pkgs

This commit adds the ability to optionally get the version information
in a list as opposed to a string. All package providers have been
updated with this (even though very few providers actually support
multiple versions of the same package), so as not to break pkg states.

Reference: https://github.com/saltstack/salt/issues/2783#issuecomment-14011820
Make versions_as_list default to False in list_pkgs

Accidently had this set to True for a few of the providers.
Fix pkgutil bugs in version, available_version
Make available_version support arbitrary args

This will avoid tracebacks in pkg states