Following up from T354542: Create new Rest API endpoint that takes an IP address and returns temporary accounts that have used that address, we need to create a service in CheckUser that returns a list of temporary accounts that have used an IP address. That's because Extension:Nuke is not yet updated to use a client-side application that makes use of the REST API provided in T354542.
In this task, we should create a service that contains the logic from TemporaryAccountIPHandler::getData and places it in a service. The service should then be invoked by TemporaryAccountIPHandler::getData and Extension:Nuke. The service should have an optional parameter for logging access, because in TemporaryAccountIPHandler that is already handled by the parent class, while Extension:Nuke would need to specify that logs should be created.