WIP: Refactor and cleanup cookbook.

This is an effort to bring this cookbook up-to-date using chef-sugar, berkshelf and foodcritic.