Add a few more npm scripts.

* Add `npm run build` to generate the build.
* Add a `prepublish` script to ensure that bower packages are installed
  on `npm install` (but not from consumers).

/cc @dgeb