Connectivity graph plot: add SVG export

This commit gives life to the "Export SVG" button. It now makes the browser
download two SVG files, one for the upstream and one for the downstream
connectivity plot.

This relates to issue #602.