Allow MWExtensionNode to render with arbitrary text/attributes

The config object in GeneratedContentNode exists for this purpose,
so let's use it :)

Change-Id: I567c3eee5fc26979aa0dff93071a9c461d27058b
Merge "Allow MWExtensionNode to render with arbitrary text/attributes"