Add external config support in Windows

- Fix xd batch scripts to pass XD_CONFIG as the jvm arg
by setting `spring.config.location`
  - made sure the `file:` URL prefix is added to the existing
    XD_CONFIG if any
  - if the XD_CONFIG path has spaces in it, handle them
- Also fixed other properties that may have spaces
  (logger, xd home etc.,)