Update to support newer chef and use client.d for config file

This avoids having to overwrite the client.rb file which can cause problems

Also adds support for newer chef which expects write and close methods in the logger