Really exit from test program when typing exit

Exit wasn't exiting anymore because the thread that reads keys was blocked.
Ctrl-R support
Merge branch 'master' of https://github.com/lzybkr/PSReadLine