Add `ContainerException::getContainer()`

Author: XedinUnknownCreated Jun 29, 2017Updated Jul 14, 2023

It's seems rather weird that an exception which relates to a container has no means of retrieving the container instance. I suggest adding `getContainer()` to `ContainerExceptionInterface`, which would return `ContainerInterface|null`, just in case there really somehow isn't a container associated with it for some reason.