Merge pull request #87 from linas/moses

moses: update extraction scripts to use cogutil

Its a trivial patch. Just merge
cogserver: fix crash on close.

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

A few typos in the documentation, etc.