Refactored tagcloud code to be more generic and callable from makefile.
Added support for building tree visualisations with graphviz.