fix a fatal bug in v0.8.0
Use "license" instead of "licenses" in package.json.
Update minimum htmlparser2 version.

This fixes #618 and #652.
Add (now-passing) test for #652.
Version 0.8.1