more Spock-related test fixes - JUnit rules must now declare a field type, and that type must implement MethodRule/TestRule - turned TestProxyServer into a rule (it was already used as if it was a rule) - extended org.junit.rules.ExternalResource instead of implementing TestRule in some places
Refactoring. Fixed some class dependencies to make the design clearer. The DaemonMain/ForegroundDaemonMain does not depend on DaemonParameters any more. It's clearer to see what is the configuration of the daemon server without actually going through the DaemonParameters that contain various defaulting and parsing logic. Still some cleanup with the daemon's startupJvmOptions is pending.