Add component.json so it can be added to Bower

Fixes #693

Only name, version, main are currently used, but doesn't hurt to future-proof it.