Show latest version link when rendering an older version of a package.
https://projects.ecoinformatics.org/ecoinfo/issues/6089
Also fixed race condition where DOI button might be overwritten by the
package button - now loading DOI after package processing has completed.