Metadata download: Workaround edelweiss.com no longer being able to search by author name.

Search only by titles and filter the results returned by edelweiss to
only include matching authors.
Diff tool: When detecting encoding of text files, look for an encoding declaration at the top in the format used by vim/emacs etc.