Also move CleanerTest to PeriodicSchedulingTest
Pulls out utility classes for reuse by other projects. This also meant the dependency had to be bundled with dd-trace-ot since it isn't published as a separate dependency.