Silence compiler warnings.

There were two cases of local dynamic variables in functions used for
sorting the .bib file. Resolved by using cl-flet.
Use cl-lib properly and create aliases for Emacs < 24.3.
Fix comments.