GRADLE-2635 Fixed problem with logging arguments in the tooling api.

The CommandLineParser was not configured correctly in the Tooling API provider.
Improved the test so that it works well on windows (platform separators)