Decode entities in the title

They will get reencoded (if necessary) when they are output. Fixes #764.