xls export (api only) & cvs export - adding options and fixing filename kwarg

xls export: only as an api method (similar to export_as_csv)

csv export: filename kwarg was required even when using out kwarg
 
added options: dialect. alternative header.