support --dev

We just need to configure npm in dev mode.

This allows `shrinkwrap({ dev: true })` and `npm-shrinkwrap --dev` to work.

cc @sh1mmer @micahr @cvrebert