refactored extract entities to pass test and be equivalent to other extract fns #4
tests are passing locally. will need a little wiggling like downloading required NLTK datasets (for NER) to work on travis builds #4