HTML writer: Add colgroup around col tags.

Also affects EPUB writer.
Closes #877.