Update with regard to code review

 - swap initialisation order of cookbook_pathname and cookbook_name
 - require that cookbooks have a name attribute in their metadata
 - clean up code in cookbook_version()