Add kill-whole-line support in REPL (closes #277)