Yet another fix for #300 and friends

This should finally fix #300 and related issues, but give it a try first before merging, just to be sure.

Using html_entity_decode when storing the item title/content obviously caused too much UTF-8 related breakage, htmlspecialchars_decode should be safer and does the job just as well without touching the encoding.