Ticket 398: added Excel export to metrics results page

Export button has been added to metrics results page to export these in Excel format. This is achieved by creating a temporary Excel file and storing the ID that uniquely defined the file name in a hidden field. The file is deleted when it is downloaded. Any stale temporary files get deleted when they are more than 2 hours old.