Cache node_modules after grunt-cli install, and check for grunt-cli in cache