Add refresh and container properties.

Refresh re-runs the renderers without changing the layout, so you can
update superficial elements like colours. The container property is
the d3 selection of the element the graph is inside.