Support for PHPTAL renderer output mode

Renderer configuration in output_types.xml can now take an
'output_mode' parameter with values such as HTML5, XML and XHTML
(default).
should return reference to a variable
correct missing space
Merge remote-tracking branch 'upstream/master'