switch from foreignobject to svg text

patched dagre-d3 to handle hrefs more sanely (href rather than onclick)