Strip leading and trailing slug punctuation. (PR #51)

Reported by BhaelOchon in meta thread “Not all trailing hyphens trimmed from topic URLs”.

GitHub

That link doesn’t seem to work unless I take off the dev subdomain.

But last night I already filled out the Google Doc CLA link Sam had been sharing.

Sorry I missed you because we didn’t have your github account name in there. Thanks!