[cleanup] Applied codestyle
[misc] Replace usage of StringBuffer with the faster StringBuilder
XWIKI-8929: Remove ugly HTML-escape hack in AttachmentDiff#toString
Fixed.