cogserver: fix crash on close.

Pursuant to discussion on mailing list.
moses: fix assorted minor typos

A few typos in the documentation, etc.
Merge pull request #100 from linas/moses

Moses