codeintel: html parser: force convert unicode strings to utf8 when parsing
http://bugs.activestate.com/show_bug.cgi?id=100557

This can be an issue when we are dealing with Unicode documents, and will
be obsoleted once bug 100136 is fixed (since in that case everything will
be str in the codeintel process).

(integrated from komodo (trunk) change 82374 by marky)

git-svn-id: http://svn.openkomodo.com/repos/openkomodo/trunk@13769 b87d16e7-d29f-4ee1-b5ec-817d645d335f