Replaced argument list in svgColorLegend() with a single configuration argument.

First argument is now a selector (i.e., CSS selector, or a DOM node), rather
than a D3 selection; the function constructs the D3 selection itself using the
passed argument.

Changed client apps to use the updated function.
Merge branch 'issue-71'

Closes #71