use the name of the directory for a cookbook if no name value was in

the metadata
fallback to metadata.json if metadata.rb is not present when loading

cookbooks from a path
Merge pull request #76 from RiotGames/fix-metadata-name-invalid

Support for metadata.json fallback for non-existent metadata.rb