Those base classes have been extracted from the MediaWiki SaaS
entry point.
The goal of the service is to check if the instance exists,
and then to load the instance required and specific configuration.
It also features a /status entry point to allow easy querying
from monitoring services.
The class methods have been inspired by the API microservice,
so a common foundation for a microservice and a SaaS could be
possible if we need to make them evolve more in the future.
Ref T845.