Added support for DOI in publications.

The DOI is preferred if it is set, otherwise we fall back to the URL.