Robust against parse errors

A non-well-formed or invalid document must not cause FreqX to crash. Instead, a summary of parse errors shall be produced.

Large corpora are likely to have problems. Sometimes they are collections of different sorts of documents, or may include intermediate formats or even a sub-folder of documents known by its creators to be erroneous. FreqX produces a list of errors in the HTML report, limited by default to the first fifty erroneous documents.