Windows support, refactors and improvements

/cc @opscode-cookbooks/release-engineers