Add metadata.json support in cookbooks

Berkshelf vendors cookbooks with compiled metadata file (in json)
instead of metadata.rb.
We test for both and prefer rb format

fixes bmarini/knife-inspect#5