added optional improved labels
major changes to support edge bundling

split file into two functions; subsumed some hard-coded parameters into
the first (frameToJSON) so it can be called by the second
(cotopic_edges); adjusted topic labels for improved d3 and css-selector
compatibility; made plotting of hierarchy optional