Bibtex input: Removed unneeded conversion of SmallCaps inline.
Minor code cleanup.
Minor code cleanup.
Fixed disambiguation where there is no author.

Previously we got letters on years even when the titles didn't
match.  E.g.

"Title A" 2012a.
"Title B" 2012b.