Better include dependency graph generator
Rewrite the include dependency graph generator to use the scripts used
for the doc-check target. Most of the graph generation code is still
the same as in the old includedeps.py (except for some renaming and
other cleanup), but it now uses the data structures in gmxtree.py as
input instead of custom parsing. Only real differences in the output
for now:
- The module graph colors nodes based on the group they are documented
in. All modules that don't have explicit documentation are now
marked as "legacy".
- The file graphs don't use clusters for subdirectories, but instead
only color tests differently. Not sure which one is clearer; the
answer may even depend on the module.
However, the new code is much cleaner and easier to extend than the old
one was, so improving the graphs further should be much easier now.
The generated graph is also laid out differently, but that may just be
by chance; because of existing cyclic dependencies, dot doesn't produce
stable layouts, and the layout can depend on the order of things in the
generated graph. Since the internal data structures are now mainly
dicts, stuff is likely in a different order than what it used to be.
doxygen.md now also has a bit more documentation for the graphs.
Change-Id: I0530c8e4278890fdb5b5d874bda6fef3521a704e