Updated capture helper to also capture stderr. Readline mock. Finished cli runner spec.