Implement Dataset from text
I am wondering why only one test of "keep_in_memory=True" fails, when there are many other tests that test the same and it happens only in pyarrow_1...
Implement `Dataset.from_text`.

Analogue to #1943, #1946.