fix CHEF-4933
rewrite in the style of remote_directory
fix bug
refactering
rewrite tests with file provider stub/mock
move (generate|delete)_config out of the process of running-config
Update stubs
add CHANGELOG for pr/1785
Merge pull request #2032 from opscode/lcg/1785

Rebase and ChangeLOG for pr/1785