Added atom and json thread formats
Added atom head tag
Added json and atom feeds for recent + code cleanup