Support for unpackWARs="false" applications

Fixes issue when deploying application as WAR without unpacking it. 
First, tries as unpacked, if there is exception - tries as packed.