Simplified caching strategy

If node_modules directory is checked into source control, rebuild any native deps. Otherwise, restore from the build cache. This is a much simpler strategy than look for changes in `npm-shrinkwrap.json` and/or `package.json`.