Fix EZP-23059: RichText generic template rendered tags are missing handling of semantic configuration PART 3

Additional PR to resolve https://jira.ez.no/browse/EZP-23059

Original PR #905 missed handling config for template tags and embeds, which allows arbitrary configuration.

Fixed with tests by using `VariableNode`.