CHEF-5116 - Catch HTTPServerException for 404 in remote_file retry
CHEF-5198: adding func tests for Chef::HTTP clients

Start of func tests for Chef::REST and Chef::HTTP::Simple

- Chef::REST is missing func tests against JSON endpoints using simple
  GET requests
- HEAD and POST requests are also still missing, etc.
DRY up remote_file func specs
CHEF-5116 - Fix two tests for remote_file net/http exceptions
bogus push to try and get travisCI to behave
Raise better exceptions in local mode
(Pass related pedant tests)
Remove confusing reference to unused variable @children
wrap methods in a module
forgot to mix into remote_file specs
Merge pull request #1377 from opscode/lcg/CHEF-5198-3-moar-func-tests

CHEF-5198: adding func tests for Chef::HTTP clients
Fix list /cookbooks/<name> for chef-zero
Raise exception from /cookbooks/NAME if cookbook does not exist
(and versioned_cookbooks is on)
Support cookbooks whose root dir does not match name
Support storage of uploaded cookbook version in local mode
(this supports freezing and empty cookbook uploads)
Do not automatically create data bags
just because someone wants to create a data bag item
CHEF-5100: moar func tests

This tests the reuse of the content length validation object and
the situation where the content length of a previous download is
retained while a 403 or other HTTP error fails to re-init the
content length to zero.  The result is the 403 is turned into an
inaccurate content length exception, masking the real error.
fix mixing should + expect rspec syntax in same file
add CHEF::Rest#get func tests
Run Pedant against local mode in Travis
Don't consider .uploaded-cookbook-version.json uploadable
since it won't be uploaded