Merge pull request #12 from cyrille-leclerc/tomcat6-parity

Silently overwrite duplicated war file entries.
added cache
some defensive rewrites
adding environment