Uses a wrapper to catch the return value instead of the ExecuteException
Remove commented lines
Tabs hopefully removed now..
Throw exception if agentStatus returns value other than 0,1 or 3
Replaced remaining tabs with 4 spaces
Merge pull request #3 from burmanm/BZ994250

BZ994250 fix - get exit code of rhqctl to be meaningful