Add environment parameters to WAR builds

We need to specify different conf for different environments (e.g. for file upload bucket locations on S3).