Simplify package install

This removes the need for a setup.js file, by simplifying the prepublish/install/test logic so that it all lives in package.json.