Remove TextIterator class

There are memory leaks (because I couldn't find the call to delete the
class)