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
Avoid UnboundLocalError when there is no top file
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
add acceptance_wait_time to SAuth system
Fix to avoid reading a file when no source is given

- file.managed was loading into memory the destination file even if no
  `source`, `contents` nor `contents_pillar` was specified. Changed it
  to force `replace` to False if no source was given
Merge branch 'develop' of https://github.com/saltstack/salt into develop
Erased some trailing whitespace
Update copyright

Expired year
minor doc touchups
Update copyright

2013-2014
fixing typos in dnsmasq execution module
Merge pull request #13028 from bechtoldt/develop

[doc] fixing typos in dnsmasq execution module
Merge pull request #13024 from richierichrawr/develop

Update copyright
Merge pull request #13025 from MTecknology/develop

minor doc touchups
Merge pull request #13012 from the-control-group/bugfix/check_libcloud

pass in data type check_libcloud_version expects
Revert "Merge pull request #13012 from the-control-group/bugfix/check_libcloud"

This reverts commit ec0044a7e2ec553f637febc7d83463b6abe40fbf, reversing
changes made to 680660cca35264eb4ee85509cd23ce023c839ca7.
Merge pull request #13029 from gtmanfred/develop

Revert "Merge pull request #13012 from the-control-group/bugfix/check_li...