Add optional </li> wherever possible
Add optional </dt> wherever possible
Add optional </p> wherever possible
Add optional </thead>, </tr>, </th>, </td> and </tbody> wherever possible

Some reflowing of lines was necessary to get this into a state that can
more easily be automatically indented by an unsophisticated script.
Merge pull request #45 from foolip/close-tags

Close optional tags wherever possible