fluff: more intelligent edit summary handling

The user contributions link could sometimes push the edit summary over
the limit of 255 characters, causing it to be truncated. And the
"restore this version" feature didn't have the link at all.
This commit fixes these problems, per request at WT:TW.