CLOUDSTACK-6291: [Windows] Checking whether Java and other dependencies are installed or not through registry search instead of relying on environment variables. Also setting them into Path environment varibale.

Signed-off-by: Abhinandan Prateek <aprateek@apache.org>