Issue #381:
- escape html in result strings in entities view
- also fixes bad html in table generation for both string and entities searches
- fix a wrong variable name causing a missing header in mobile display + a warning
- whitespace changes to output well formatted html

realign all the output table

realign all the output table
Merge pull request #385 from pascalchevrel/issue-381-escape_html_entiti_view

Issue #381: