fixed #97 (better handling of parallel texts in CorefVisualizer)

Beside fixing #97, this also adds some general (far from complete) cleanup to the CorefVisualizer code, e.g. it will always produce well-formed HTML (we use an external library for that purpose).