ARGUS-17: updated retrieval of error message from REST response
ARGUS-17: fixed per code review comments.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-argus