Strip down and reformat arbor, change build system and browserify

Also, make a few API changes.