Change metadata.json to metadata.rb, and add linting.  Fixes #1