reinstate hierarchical clustering analysis

Also add a test for this functionality.
fix bug in removeObject

If you removed a data object's only analysis, it deleted the
input data too.  This is fixed now.
change icon for some views

Use the "graph" icon for most views, even if this is the only
view into a particular data object.  Default table & tree views
will still use the same input/output icon as before.