Finish first pass at CV generation

Annotated with TODOs from things that I'd like to insert in some
kind of automated fashion. The profusion of templates is a little
messy, especially since many of them are highly similar.
templates/cv.tmpl.tex: cleanup

This changes the layout slightly but simplifies the code a lot. More stylistic
tweaking to come when I feel like futzing.