- Rewrote the REPL part:
* It no longer uses regexes (except for inferring the input \).
This had a tremendous effect on stability and speed.
* Added finer timeout control.
Now if a statement timeouts, then whole cell execution is interrupted,
and this is clearly reported to the client.
* Macaulay2 exceptions and stdout are always printed to the cell's stdout.
I removed stderr formatting, since it did not fit nicely with the rest.
* Decoupled the REPL from the kernel-proper class.
It can now be used directly in Python3. Will add demo later.