Support --local-mode for chef-client (reworked)

This is the same PR @tduffield submitted (https://github.com/mitchellh/vagrant/pull/2463), but with the rubocop changes dropped, and the commits rebased into two easier-to-review commits.  I'm very interested in this functionality being added, so I tried to make it a bit easier to review and merge . :)