Improve rss support

Lots of refactoring. Now has some support for sites offering Atom feeds.