XHTML5 compatibility: replace the nbsp entity by the hexa code 0xA0
XHTML5 compatibility: replace the quot entity by the hexa code 0x34
XHTML5 compatibility: replace apostrophe by quote to delimiter attribute values
XHTML5 compatibility: adds CDATA section around inlined css stylesheets and javascript scripts
FIX: adds a missing </div> in templates.html on glimpse.js