Add CSV format output.

Add csv-stringify to libraries.
Add query string param "format", which may be set to "csv"k