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
Return None if iptables policy not found.

This will prevent iptables.set_policy state from failing when iptables-save output is empty.
Cron comments should be optional
Add default values for new minionfs config params
MinionFS enhancements

This commit adds a configurable environment, mountpoint, and minion ID
whitelist/blacklist.
Add new minionfs params to docs
Merge pull request #11809 from mtorromeo/fix/cron_comment

Cron comments should be optional
Merge pull request #11810 from terminalmage/minionfs-enhancements

Minionfs enhancements
Merge pull request #11808 from zeezooz/iptables_policy_default

Return None if iptables policy not found.
Performance: Do not scan entirely the jobs folder

Related to #11804, does not fix it entirely
Merge pull request #11709 from cachedout/10446

Implement makedirs in file.managed.