Fix CSV downloads for runningcatalog_detail, transient_detail.

I just fixed these up to match the html views. Exactly
what context object contains the data seems to vary from view
to view, this could probably use a little reviewing.
(And unit tests, as discussed.)
Merge pull request #13 from timstaley/fix-csv

Fix CSV downloads for runningcatalog_detail, transient_detail.