Improve heuristics for selecting a link URL.

Prefer type="text/html" links in atom feeds.

The atom package cannot parse the type attribute of link elements,
so add our own tweaked version at goapp/atom.
Merge pull request #108 from timmclean/prefer-html

Improve heuristics for selecting a link URL.