support for emphasis, note, and sorting in publications, corresponding spans and classes added to htmlwriter. Also, minor refactoring in htmlwriter
personal: added emphasis, notes, and weight to some papers, generated html and bib