single quotes
Drop sup groups BEFORE changing uid

@basepi, needs cherry-pick
Refs #7422. A marginally hackish (but effective?) way to avoid having to unwrap None vars as args/kwags. This fixes an incorrect assumption that to have kwargs, one would first need to provide kwargs.
Refs #4686. From a cursory scan of this code, I believe the issues that the author raised are still valid.
Fix regresion in disk routines
encoding and docstring for package

Conflicts:
	salt/utils/validate/__init__.py
Fix typo.
Add python_shell flag to cmdmod functions.

The cmdmod functions use shell=True by default. To allow for safer calls
add python_shell=False to the call and pass in the arguments as a
sequence

sudo salt 'dasalt' cmd.run 'ls -lh /'

sudo salt 'dasalt' cmd.run '["ls", "-lh", "/"]' python_shell=False
change 'rvm install' calls not to try sudo if 'runas' is set to non-root user
Add token checks to mine uploads