Generate the war and pass it to fntest.

This allows us to capture the state of the project with middleware
applied, which is critical for working with lein-modules.

This commit also makes :main optional.