Add support for todonotes (if loaded)
This adds support for a "list of todos" page after "list of figures". Very useful if the todonotes package is loaded. If the package is not loaded, it should just ignore the todonotes (not tested though).
I'm using this for my phd thesis.