add support for encoding and file extension for csv export
Merge pull request #683 from camptocamp/fix_csv_utf8

add support for encoding and file extension for csv export

this pr solve the issue camptocamp/cgxp#521

it implement the possibility to specify the encoding and the file extension for the csv export

utf8 and .csv have been tested ok with the following programs:
Excel 2007
Excel 2010
LibreOffice 4.0.4.2
LibreOffice 3.5.7.2

not ok with:
Excel 2002 (no utf8 support at all)
OpenOffice 3.3.0 (utf8 not recognized automatically, but can chose the encoding on start)