Update jar/war tasks to allow providing a destination dir.

In addition, this also has the war task provide it's own options on
help, and ensures that no top-level jar or war ends up in the jar (this
could happen if a non-default name was used for the war).