back port of OC-10380 to 10-stable
[CHEF-4110] Add a "whyrun_safe" attribute to ruby_block

10-stable edition
Add test for whyrun-safe in ruby blocks

Also refactor the code to be slightly cleaner and fix 'updated' bug.
Revert Chef::Config[:why_run] after test

Also, don't claim to be a state_attr.
Move to making a seprate resource/provider
Pick 1.3.0.rc.0 to prepare for 10.30.0.rc.0
Add formatter output for whyrun_safe_ruby_block
Merge pull request #1116 from jaymzh/CHEF-4110-10stable

[CHEF-4110-10stable] Add a "whyrun_safe" attribute to ruby_block
Merge pull request #1140 from opscode/pick-shellout-rc

Pick mixlib-shellout 1.3.0.rc.0 to prepare for 10.30.0.rc.0
Make the :fork check on windows more reliable.
Merge pull request #1141 from opscode/lcg/OC-10380-10-stable

back port of OC-10380 to 10-stable
Make sure the tempfile exists before closing it.
Merge pull request #1143 from opscode/windows-spec-fixes

Windows Spec Fixes
Bump the version numbers for 10.30.0 release candidate.
Don't change content type in Chef::REST if one was provided
Add regression test for content type mangling issue
Merge branch 's3-auth-regression-fix' into 10-stable
Ensure Host header is correctly formed

Net::HTTP does not set the Host header correctly when the host is given
as an IPv6 address. Previous testing determined that Chef was setting
the correct Host header in the authentication code, but did not set the
Host header for non-authenticated requests, so the Net::HTTP default
behavior (bug) would be exposed.

Set Host header "manually" for all requests to hide the Net::HTTP bug.
Merge branch 'ipv6-host-header' into 10-stable

Ensure Host header is set manually for all requests. This works around an issue
with Net::HTTP where the Host header is missing the necessary brackets when the
Host is identified by IPv6 address.

E.g.,
Good:
    Host: [::1]:8888
Bad:
    Host: ::1:8888
Bump up the version number for RC.