HTML writer:  improved detection of image links.

Previously image links with queries were not recognized,
leading to use of an embed tag rather than an img tag.
LaTeX reader: Made `\nocite` work.

This adds nocite citations to a metadata field, `nocite`.
These will appear in the bibliography but not in the text
(unless you use a `$nocite$` variable in your template, of
course).