Add component.json and streamline package.json and bower.json

Closes #442