add_legend function

Add a vega legend specification to a ggvis plot