Cleans up pg, sentence and whitespace segmenter.  One working test.
Adding some files missing from the last commit.