adding save-prefix type and default('^')

This supports the added npm feature, see https://github.com/npm/npm/pull/4963.