utils: Move escapeHtml into utils (and rename to escape_html)
Issue #15: unit tests: Add utils testsuite

Contains a regression test for issue #15 currently.