Fix HTML structure in mod_feed. Also some re-indenting to line up HTML a...

Hi,
mod_feed generates invalid HTML in Joomla 3.1.5. I think I fixed that. I moved stuff around a bit to make the code more readable.