Fix module_name property to properly allow overriding the name
Fix module_name property to properly allow overriding the name

This property was entirely ignored before and the property name was just
used instead. This makes it possible to give friendly names to the
resources while specifying the module name below.

Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>

chef-cookbooks/perl,opscode-cookbooks/perl