Added the node categories of gene, mRNA and dummy.
The ordering of shapes in the shape legend is now done with some sense
of logic (i.e., not alphabetically) thanks to a list of strings with the
explicit order of the names that is passed to ShapesLegend.