Refactor cookbook

Fix ubuntu 12.04 and 12.10
:warning: Breaking change: node['module'] isn't an array anymore, please use node['modules']['modules'] to set it via attributes