Update RunMojo to include a `fork` option and change the default to only fork if agent or jvmArguments are specified. Fixes gh-1412