Added functionality to download the report in the CSV format.
Added java script funtions to download the graphs as images.