Added an option to obtain the IRuntime singleton object. (In cases when
it is a singleton.) This allows stopping the runtime from the code of a
component (as needed by the Visualizer component in the convoy
tutorial.)