A service is needed to be able to prune data from the CheckUser tables. This service will be created my moving code from other files into one service.
This is needed because the current pruning mechanisms have two different code paths (purgeOldData.php and the job) which presents code duplication. This means that in T353953: Don't use actor IDs for private CheckUser events when these actions are performed by IP addresses, where a new result table is added, we will only need to modify one service instead of having to modify two different files for the same changes.
Acceptance criteria
- Create the CheckUserDataPruner service and use it in the job and maintenance script purging code paths