Better plotting

This change set improves upon the plotting functionality, cleaning up some interfaces in the way and removing rather big dependencies (plotinum).
Instead of generating an SVG we now output a self-contained HTML page with an interactive plot.

Closes #3, #12, #15, #16