Encode text in FileActivity to show content of html files properly.

Merged username-removed-270406 requested to merge (removed):fix-text-escaping into develop

Files of XML/HTML files will get rendered. This fix encodes the text before showing it. This also fixes issue #30 (closed)