Converted tangelo.util.svgColorLegend into jquery plugin and adapted all client applications to make use of it.