Add type to atom

Added the edition type as a prefix to the title on all atom feeds.

Also refactored the atom tests slightly to reduce duplication.