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
Merge pull request #5525 from UtahDave/develop

Different attempt to import wmi
Merge pull request #5524 from hulu/pep8-more

pep8 whitespace fixes
pep8 whitespace fixes
apt.py: remove noisy (and redundant) log messages

There are log entries in __virtual__ which are redundant and end up
being written to the log over and over again if certain python modules
are not present, irrespective of whether or not the features which
require these python modules are being used.

They should never have been in __virtual__ in the first place, since
there are already notifications in the functions which make use of these
modules, when those modules are not present.

This commit removes them, which should get rid of a lot of noise in the
minion log.
Merge pull request #5528 from ageron/fix_kwargs

Upgrade kwargs parsing
Merge pull request #5526 from hulu/pep8-more

pep8 whitespace fixes
Merge pull request #5529 from terminalmage/issue5431

apt.py: remove noisy (and redundant) log messages
upstart: store runlevel in __context__

This commit stores the current runlevel in __context__ to avoid repeated
calls to 'runlevel /run/utmp'. Fixes #5425.
Merge pull request #5531 from terminalmage/issue5425

upstart: store runlevel in __context__
Port mod_repo and helpers from yumpkg.py to yumpkg5.py, Fix #5282
add downgrade support for apt

This commit fixes #4798 by checking to see if the targeted version will
be a downgrade, and if so, setting a flag that, if True, will cause
--force-yes to be used in the call to apt-get install.