Fixing broken yaml with ruby 2.0
Bugfix: Ruby2.0 yaml generation
Refactoring: Relocting yaml converting in lib

Added tests
Merge pull request #316 from fh/t/chef-fix-against-stable

Bugfix: Ruby2.0 yaml generation (Stable)