Add wiring data to the TemplateUtilsTestCase
Fix some problems serializing and parsing wiring data
The code_content_type, widget_width and widget_height attributes are only needed for widgets