Added main field to component.json which is required by the spec

The `main` attribute must be specified if the name is something other than `index.js`.