Cleanup the gearman CLI

Registered by Eric Day

A general code walkthough/cleanup is needed, finishing or polishing some features. A few are:

The gearman tool needs to be able to handle capturing stderr in worker mode and send that back in WARNING packets. This probably involves a thread to ensure it works on broken stdout/err interfaces like OSX.

There could also be some better logic around printing results, such as ensuring there is a newline and not printing a prefix with result is empty.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Approved
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Also a commandline switch to print out errors sent back from workers when the cli is running in client mode would be nice. (clint)

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.