Supercharge the interpreter

It now uses readline, does command autocompletion, and allows command history
navigation.