Add report dialog with ability to download the report.

The report consists of a set of events and aims to writting a log file
compatible with chrome devtools. Note that besides explicitly logged
events with traceEventInstance, console.log and window.onerror are also
logged into the report.
Paragraph and buttons should be indented.