Updates to integrate html5lib 0.999 and feedparser 5.1.3

Here are proposed changes in order to take into account the updated feedparser and html5lib (latest releases at the moment).

I tried and make sure the test suite passes, but haven't yet tried very hard over real planet installations.