Set html entities for SPARQL XML output.

Fix AKSW/OntoWiki/issues/226.
Fix test accordingly.