GladePreviewer: Fixed bug previewing templates.

XML text data was not escaped when generating the template XML.
GladePreviewer: ignore signal connections to avoid warnings about missing symbols.