Revert "use component/indexof"

This reverts commit 624063515ec2aa9b16ecedba9e8d3694f3ed815a.

Conflicts:
	component.json
	index.js

This was causing lots of problems with our builder WRT version lock
against v0.0.1 of indexof and the fact that component(1) does not
yet handle version conflicts elegantly :(

For now just inline the indexof component...
This is why we can't have nice things...