CB-7409 update CORDOVA_HOME_DIR based on npm_cache

CB-7411 Make version in version script easier to replace by coho