Fix parsing of HTML comments and add tests.

Fixes https://github.com/marijnh/acorn/issues/119.