Add support for save-exact flag in npm-init

If you did this without this patch:

```
$ npm config set save-exact true
$ npm install unexpected
$ npm init
```

You would get a package.json like this:

```json
{
  "dependencies": {
    "unexpected": "^4.1.2"
  }
}
```