Allow `--metadata` to be repeated for the same key to form a list.

This also has the effect that `--bibliography` can be repeated,
as before.