Fix max/avg/med/min selection on serial history graph
Close modal with ESC, IE fix for history graphs

If the NFT history section was hidden whan canvases were created they
did not work. As a workaround temporarily show the history section as
well if on IE, init canvases, and then hide it again.
NFT charts for IE partially fixed

Showing the NFT trend chart no more causes weird download to backend
server when using IE. In IE8 the lines won't show up either but the
mouse over hovering works.

Without proper line breaks Dygraph started downloading data. Now the
line breaks are preserved and converted so that the data given to
Dygraph is CSV data.