Implement global runtime macros as $icinga.<name>$.

Refs #5855