Reorganized Bibtex.

Ultimately we want to make resolveBibStrings work, but it needs
to be in Bibtex rather than Pandoc.

TODO.