lib: introduce `TemplateMacro`.

TemplateMacro is a quick and easy way to replace macros in string by other Streamable replacement.

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
lib: add tests for `TemplateMacro`

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>