I went ahead and wrote a very simple test for HTML parsing and added an parseHTML() binding. I've sent you a pull request.
You can check out the commit here:
http://github.com/Maciek416/libxmljs/commit/87f28186cd4d2f2f...