Remove junit and commons-io from the compile configuration

Remove junit and commons-io from the compile configuration.
Add a 'buildLogic' configuration used to test that dependencies of build logic can be used in a functional test.
This should ease the path towards publishing gradle-test-kit artifact.