Fix the error return on commands from server to display the right error.
Merge lp:~brianaker/gearmand/error-return Build: jenkins-Gearmand-790