add `component` compability

I use prefixfree a lot in my projects, and I find it would be easier to add it to one project via a package manager. So I added component.json for [component](https://github.com/component/component) and a few tricks to make it CommonJS compatible.