Allow knife to install cookbooks with metadata.json

Previously `knife cookbook site install` would only install cookbooks that have a metadata.rb. This has a number of problems, mainly that compiled metadata is supported elsewhere in Chef.

This commit adds support for parsing the metadata.json, even though the metadata.rb is still preferred (since that's what the rest of Chef does).

Refs: https://github.com/sethvargo/stove/pull/59

/cc @nathenharvey 
I'm not really sure what's up with the diff here. Looks like whitespace changes