Fix that input builtin failed to resume task.

Functions called with a task in state RESUMED need to set its state to
RUNNABLE, and I forgot, causing the VM to crash.
Update the REPL to store and print a return value.

Code is now evaluated and executed, and the return value printed
afterwards. Update the prompts to follow IRB.