[diagnostic] add a button "send to pastebin"
People tends to copy paste the content of the diagnostic dialog directly into tickets. This makes tickets painful to read. Solution: add a button "send to pastebin" that send the content to some pastebin.