Direct import of PR#4978
Update web UI for new result reports.
For operations with fatal errors, write logs to same operation ID.
Test that Interrupted flag is correct in RunScriptTests.
Update backup log display for new result reporting.
Hide file statistics for fatal errors and change fatal icon.
Add functions to format timestamps up to second precision
- When adding milliseconds (SSS), infdig error was launched for some reason
Functions to format duration and size strings
Pretty format the response object right after its retrieval on JS