Broker command pipes stderr to os.Stderr.
stdout handling fixed.
waitChan extracted from executeJob.
package bs (beanstalk) extracted from broker.
cmd package extracted from broker.