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).