Added support for error output and enhanced the Listener.

Proc now also reads from stderr and passes these lines to the listener.
Proc also sends the exit status code to the listener.
Proc passes the command to listener when starting.