Added a deploy_application method to upload WAR file to webapps path