update client to allow better debugging of gearman plugin

* add additional documentation
* print job result from a job run.