Add new class for description languages. Enhance support of Latex and Dot.

Somes changes have been done mostly to make testing easier but it also makes
the whole thing more consistent.