re-add odt output, and cleanup tex.

- clean up rst output and odt converter
- add odt postprocessor for output
- misc fixups for tex output discovered while trying to produce html
- add hacks to remove hyperlinks in rst and support smallcaps