Fixed multi-byte support for HTML output

Previously the HTML renderer occasionally broke multibyte strings by inserting \0 and \1 between bytes of one character (see https://github.com/chrisboulton/php-diff/issues/14). This commit hopefully fixes the issue.

(whitespaces were replaced because of IDE automatic cleanups according to PSR-2 code style)