LaTeX reader:  Improved citation parsing.

This fixes a run-time error that occured with `\citet{}` (empty
list of keys).  It also ensures that empty keys don't get produced.