Installed express-csv for csv output.
Converted various responses to the 'json' function.
Can now optionally set collections to return csv format data rather than json.
Removed debug logging.
Added a get handler for favicon so the rest api doesn't interpret it as a database name!
Removed debug logging.
Updated readme with info about collection transformation.
Added new config entries.
Added test for csv data output from get collection rest api. Have initialize rest api manually now so that 'csv' output can be switched on.
Renamed config variable collectionResponseType to collectionOutputType.