Add failed code blocks to readline history.

Fixes #32
Merge branch 'master' of https://github.com/bobthecow/psysh into upstream
Fix for GH#32.