Restructured to make consistent with nap

This removes all component stuff, moves all dependencies to
npm style package.json dependencies and fixes the tests to run
under node. The tests no longer run in a browser, which is
unfortunate but something which I'll look into later since
I'll have to solve this both for rhumb and nap (and frankly,
probably funkis and other projects as well -- dave?)