Implement makedirs in file.managed.
use func_alias for makedirs, lint fixes

This commit changes makedirs() to makedirs_() and makes a func_alias, so
that the makedirs params don't override them. It also makes several lint
fixes that clean up unused variables, replaced built-ins, etc.
Pass makedirs to file.managed, file.serialize states

Also some lint fixes, and since states modules aren't supposed to
directly make changes, two calls to os.makedirs() have been replaced.

Conflicts:
	salt/states/file.py
Cleanup call to file.check_managed

This function no longer contains a makedirs param, so remove it.
fix error message when no changes made
win_file: make file.makedirs a func_alias
Fix re-namespacing error
fix issue 11760, host entries append to eol, even lines with comments
added softwareupdate mofule for MacOS
fixed pylint violations
Merge pull request #11709 from cachedout/10446

Implement makedirs in file.managed.
Add initial script for deploying lxc containers from a tarball
Add initial lxc image management
make contents_pillar_newline optional
More iptables arguments.

Name can be used with quota2 and recent modules.
Set with empty value is not changed and can be used with recent module.
Don't force log level to ERROR when an onlyif or unless fails during the cmd.run state. Fixes https://github.com/saltstack/salt/issues/11778
Error out on non-existent Windows drive letter
Increased default auth_timeout value from 3 to 60
Merge pull request #11813 from jhenry82/cmd_ignore_retcode

Don't force log level to ERROR when an onlyif or unless fails
Remove unnecessary code