added MimeResponseFactory

added MimeResponseFactory to handle different types of returns;
Currently there is only a JSON and CSV option. MimeResponsCSV.php only
has the required functions in it with no implementations of the
functions
Added CSV stuff, need to sort out tests

Not sure if concatenation is working for multiple queries, when response
type = csv
Raw data download functionality done

All functionality is implemented for the Raw data download feature.