Legend background, draggability + positioning

Hi @emeeks 

A pull request in case you're interested.

New features:
 * Background rect
 * Draggable
 * positioning

I have changed your d3-svg-legend a bit in order to use it in the component https://github.com/bbglab/muts-needle-plot.