Stopwords, Batch vs. Update, Inference Functions

Pass GetFiles a pointer to a document containing stopwords. 
If you do not wish to remove stopwords, pass GetFiles a nil document

Also populated ds.GlobalWordCount during ds.GetFiles() invocation