Fix generated script to better support INPLACE

Fixes #614

Move paths comparison logic from script to kudu service, also move environment keys to a different specific class.

Relates to https://github.com/amitapl/azure-sdk-tools-xplat/commit/aec79588bc7c839e5289817185263bb154c9bf7a