Doxy templates

Doxgyen now handles templated functions and classes.

It isn't perfect because it is not extremely clear to me how doxygen handles the templates (it spreads info across many files), but it is a good start.