hand cherry-pick json-dos-fix to pl master

Conflicts:
	chef/lib/chef/resource.rb
also apply fix for cookbook version
add support for actual sandbox objects

Conflicts:
	chef/Gemfile
fix json_compat to raise same errors as json gem
[CHEF-3863] add compat for openid registration
remove accidentally gemfile.lock
rename json_compat_spect.rb -> json_compat_spec.rb
CHEF-1292 Lower json stack depth tests to 301

1001 was causing stack level too deep errors on 1.8.7. This is
still a huge stack depth and 1001 was arbitrary.

Conflicts:
	spec/unit/json_compat_spec.rb