Multiple executions of Maven goal "prepare-agent" should not lead to
incorrect configuration (GitHub #40).
Also consider quotes in command line arguments correctly.

For this move command line utilities into core.
Merge pull request #146 from jacoco/issue-146

Rebased fix for issue #40 (doubled javaagent)