Removed test code
Fixed applying format for multiple fragments, so it will be saved as a single UNDO action
Fixed bug when new formatting (font size, etc) did not apply to hyperlinks
Implemented pasting images and text files into text document by using drag'n'drop or Ctrl-V
Fixed application crash caused by changing QTextImageFormat.name property while iterating through QTextDocument