Fix for [COOK-3194]

1. Fixed the name of the destination war to <application.name>.war instead of the basename for the URL. This is required because the URLs we have pretty non readable basenames.

e.g. https://abc.com/nexus/service/local/artifact/maven/redirect?r=snapshots&g=dummy&a=dummy&v=LATEST&e=war

tomcat fails to deply this because the URL does not have a basename ending with .war

2. fix to provider_remote_file_deploy.rb which gave exceptions with current chef's remote_file and file providers.

3. If the war file has not changed the target revision for the remote file would be an empty string resulting in deploy_revision clearing up the releases and current folders!
   Fixed by setting the revision number to checksum if not explictly specified.