Add 'make check' target.
Clean some code.
Handle HTML escape characters.

Convert “&…” codes to corresponding characters.