Make the link tag self-closing.

Solves #744 by closing the link tags in the header and making the output XHTML valid again (needed for ePub).
Merge pull request #745 from GaretJax/patch-1

Make the link tag self-closing.