Adding simple tests for class Extractor
LexemeSequence::image for dumping text view of the sequence
Extractor: fixing bugs
Refactoring extractor for better readability, fixing bugs