Make WAR break later in the deployment process

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1484861 13f79535-47bb-0310-9956-ffa450edef68
Make deletion of the copied WARs used for anti-resource locking more robust if the context fails to start (there were some circumstances where the original WAR could get deleted). Add some test cases to check this.

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