Add use of rhizome/Graphviz to create dependency graphs

Also add double-checking of namespace load and unload order returned
by tools.namespace, to check for bugs in the order in the future.