Fixed a bug in NlpTools\Documents\WordDocument

The array with the context following the ith word was always one
token smaller than it should be. Also added a test file for this
class.
Merge branch 'word-doc-fix'