Cache deployment script for usage in next deployments (as usually the script won't change),
This should help reduce CPU time usage.

The cached script is stored under the specific deployment in the deployments directory along with the command arguments that passed to the deployment script generator.
Add kudu version to the deployment script cache key.
Seems redundant, also uses d:\ which is not guaranteed to exist.
switched to cache only the latest version of the deployment script.
Test fix, removed redundant check.