Added a word stemmer to the pre-processor, plus a simple unit test for
it.