retry on HTTP 50X Error when calling Chef REST API
read http_retry_count from chef config in the spec; add HTTP error code in the log.
Merge pull request #1912 from jessehu/CHEF-ISSUE-1904

retry on HTTP 50X Error when calling Chef REST API