Improvements to loading time in mainline case.

We normally don't need to import any nltk classes, so the imports are all moved
into the _build_wordset method, and only triggered if we need to generate a new
database file.