Some experimental changes.
Removed echo.
Use JAVACMD to exec java
Compiles in both windows and *nix like.
Use variable to set secondary domains config.
Merge pull request #1 from sbs-discovery-sweden/windows_compatibility

Windows compatibility