(maint) Windows failing spec fixes

 - The usage of Dir.getwd in tests has been simplified to
   File.expand_path to properly handle mixed case CWD
 - util_spec.rb ensures 'FOO' Env var cleared before test starts
 - Windows SID checks should be performed as a regex match to
    properly handle all accounts starting with S-1-5-*, which denotes
    accounts with an identifier authority of SECURITY_NT_AUTHORITY
    instead of hardcoding S-1-5-32-544, the Administrators group
(#22665) mounts should autorequire parent mounts

Given two mount points:

    mount { "/var/log":
      # ...
    }

    mount { "/var":
      # ...
    }

The mount '/var/log' should autorequire '/var' so that the child mount
is not masked by the parent mount.
(#22772) Fix test for saving empty data

This test was failing due to a bug in the test, which didn't show up because
it was checking for too broad of an error.
(#22772) Allow a PUT with an empty body
(#22772) Add error checking to yaml format

This will raise a FormatError if asked to intern invalid YAML instead of an
unintelligible ruby error.
Merge pull request #1935 from adrienthebo/issue_22665-require_mount_parents

(#22665) mounts should autorequire parent mounts
Merge pull request #1969 from pcarlisle/ticket/22772-empty-filebucket-save

Fix saving empty files to filebucket
Merge branch 'stable'

* stable:
  (#22772) Add error checking to yaml format
  (#22772) Allow a PUT with an empty body
  (#22772) Fix test for saving empty data
Merge branch 'fix/stable/windows-spec-fixes' of git://github.com/Iristyle/puppet into stable

* 'fix/stable/windows-spec-fixes' of git://github.com/Iristyle/puppet:
  (maint) Windows failing spec fixes
(maint) Move constant outside shared_examples_for to avoid "already initialized" warning
Merge remote-tracking branch 'upstream/stable'

* upstream/stable:
  (maint) Move constant outside shared_examples_for to avoid "already initialized" warning
  (maint) Windows failing spec fixes

Conflicts:
	spec/unit/node/environment_spec.rb
Merge branch 'master' of https://github.com/puppetlabs/puppet