Add makedirs to file.managed state (2014.1 branch)

This is https://github.com/saltstack/salt/pull/11709, backported into the 2014.1 branch.

Also changed references to 2014.1.2 to 2014.1.3 since 2014.1.2 was never officially released.