CORE-4304 Allow HTML messages in error dialog.

Changed the return type of ServiceError::generateErrorMsg to SafeHtml, to allow HTML in error messages.
ErrorDialog3 now takes a SafeHtml message in its constructor.
Added an ErrorHandler::post(SafeHtml, Throwable) that now ultimately shows the error dialog.