Reimplemented 'latest_version()' to fix #12663 and make it more readable + better debug-able.
Optimize sync_all

This commit stores the environments read by reading the top file in
__context__ so that the top file does not need to be read once for each
sync doing in salt.modules.saltutil.sync_all().
Sync custom types before executing highstate
Modified skip flag logic to skip instead of filter.
Defaulted skipPresent to false, since it causes legitimate patches to be missed.
Fixed output of install_updates.
Fixed misc. code problems.
Avoid UnboundLocalError when there is no top file
Working salt-ssh test runner

This rounds out initial (alpha) support for a salt-ssh test runner.

At present, one must manually specify the --ssh flag to ensure that
the ssh deamons are spun up properly.

Conflicts:
	tests/integration/__init__.py
	tests/integration/files/conf/_ssh/sshd_config
	tests/integration/files/conf/sshd_config
	tests/integration/files/ext-conf/sshd_config
Generate server keys too
Set this back to the original value. (Fixes salt-ssh bug)
Pass -i to salt-ssh
Pylint
Now we don't need root anymore
Clean up sshd config.

Remove hostkeys that are now dymaically generated per-run.

No more usepam
More Pylint
Wrapper func return.

Not sure why were expecting a tuple here. Looks like a single dict.

This fixes things like grains.items, which were stacktracing.
More optimizations in HighState class

We already have load_dynamic() which runs a sync_all, I didn't catch this
in my previous commits. Also, load_dynamic() refreshes the modules
twice, once by calling the sync_all with no refresh argument (the
function defaults to refresh=True), and once by invoking
self.state.module_refresh() before the function exits. Passing
refresh=False removes one of the module refreshes, which should speed
things up a little more.
pass in data type check_libcloud_version expects
remove extra paren
Merge pull request #13009 from cachedout/12809

Wrapper func return.
namespace get_node
add acceptance_wait_time to SAuth system