Added data formats to resource index pages

Added the as_csv gem for CSV support.
Included download links in index actions to view data in JSON,XML,CSV.