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
Remove redundant mkdirs argument

This was obsoleted when we renamed makedirs() to makedirs_() and made a
func_alias for it. It does not exist in any officially released code, so
no need to deprecate it.
2014.1.2 -> 2014.1.3

2014.1.2 was not officially released, fix these RST directives.
Merge pull request #12307 from terminalmage/issue10446-2014.1

Add makedirs to file.managed state (2014.1 branch)