Fix component install failing because of bad paths in component.json

For some reason the component.json was pointing to `src/happen.js` which made installation with component fail. It was also missing a `main` field which is required if the main file isn't named `index.js`.