Only ignore build in top level
Add some stuff to make building rpms easier

Conflicts:
	pkg/rpm/salt.spec
Make buildid a argument
add function file.grep
update function: file.grep

Add exception handling for cmd.run_all
wrap file copy in umasks to secure permissions

* salt.util.copyfile needs preceding with 54 (aka 0066) umask in order
  for new files to correctly get 0600 mode permissions.
* shutil.copyfile is preceded by a 63 (aka 0077) umask.

Fixes issue #8590
Remove deprecated code and make use of `syspaths`.
No hard coded paths. Refs the salt-cloud merge.
Remove deprecated code.
Deprecate `vm_config*` config  var in favor of `profiles_config*`.
Salt Cloud, as Salt, now uses a common configuration directory.

Passing single configuration files to the CLI tool is deprecated and will be removed in Salt Helium.
Use the new form of passing the configuration file.
apply mask or state mode to copied files.

This makes salt.utils.copyfile secure by default. After use, correct file
permissions according to the mode in the state or, if not specified, the umask.
Add support for refresh_db in brew

It appears that refresh_db became a feature that package managers are require to support as `KeyError: 'pkg.refresh_db'` was the error I was getting before this commit. I've not had a chance to fully test this fix, so I'd appreciate anyone else taking a look at this.
Merge pull request #8935 from jasonrm/patch-1

Add support for refresh_db in brew
Merge branch 'rpm_build_helper' of git://github.com/mbirtwell/salt into mbirtwell-rpm_build_helper

Conflicts:
	pkg/rpm/salt.spec
Minor clean up on convenience rpm building function
Merge pull request #8749 from pyinx/patch-4

add function file.grep
Add note about future changes to file.grep
Merge pull request #8801 from s0undt3ch/hotfix/deprecate-salt-cloud-config-file

Deprecate salt cloud split config files to CLI tool