Make an effort to return a warning message if we get arguments passed to us that even Python's optparse can't deal with. Refs #6538.
Merge pull request #7969 from cachedout/#6538

Make an effort to return a warning message if we get arguments passed to...
Add tests for pkg.installed with version specification
add tests for installing 32-bit packages
adjust pkg targets for pkg tests
Fix generic exception:

Use "except Exception" instead of simply "except". Fixes pylint
violation (see below link for details).

http://jenkins.saltstack.com/job/salt-lint/644/violations/file/salt/utils/parsers.py/
Don't perform version spec pkg tests on FreeBSD

pkg_add does not support this, so this test will fail when
pkg.latest_version is run and an assertion is done to determine the
targeted version.
adjust redhat pkg targets for pkg tests
Add function to wait for pkgdb lock to clear

Arch pkg tests that call pkg.latest_version seem to fail on running
this function due to the package database still being locked from
previous tests. This adds a function that waits (in 5 second increments)
for up to 60 seconds for the pkgdb to be unlocked.

http://jenkins.saltstack.com/job/salt-rs-arch/474/artifact/salt-runtests.log/*view*/
Move _wait_for_pkgdb_unlock inside of PkgTest class
More tweaks to package tests

This makes package tests work better on CentOS 5, and also adds a 32-bit
target for Ubuntu.
Fix import error
Add CLI example for ports.list_all
Fix function name
Apparently the test framework doesn't like private member functions
Remove ubuntu 32-bit target
Add versionadded directive to dockerio module

Also changed the top line of the docstring, as this affects its
appearance in the docs, and this top line should be a simple explanation
of the module. Having "overview of this module" in this line is
redundant.
Merge pull request #7998 from terminalmage/quickfix

Add versionadded directive to dockerio module
Fix sphinx build warning

Section headers must have their underline the same length as the section
header itself.
Corrected typo (extended auth → external auth).