HTML Unicode parsing

Attached is a fix for LP #1002581:
https://bugs.launchpad.net/lxml/+bug/1002581

Note: This patch is funded by my employer, Google. If I am credited, please use my work email address mgiuca@google.com.