Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56418
Ensure that the Manager web application does not report success for a web application deployment that fails. Based on a patch by slaurent.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1590076 13f79535-47bb-0310-9956-ffa450edef68