extract methods for csv/xls downloads
extract methods for csv/xls downloads

- provides methods to call to handle xls/csv downloads
- extract functionality, easier to customize highcharts button menu
- also easier to call download from custom button

nhebi/export-csv,highcharts/export-csv,highslide-software/export-csv,dplatten/export-csv