XD-647: Enable text/plain conversion on byte[] payload
Fix generics warning
XD-1351 Replace Plugin.preprocessSharedContext

- replaced Plugin.preprocessSharedContext with ApplicationListener

- removed duplicate codec bean

- module-common.xml comment and dup method in TestStreamPlugin
XD-1209 external config support for 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 XD_CONFIG
  - Handle double quotes appropriately. If an environment variable
    has space in it, it is expected to receive the variable in
    double quotes.