Add tool for generating a WAR file from a module.

This also extracts the module loading code out of the classpath tool to
a parent class, since the WAR tool needs the same functionality.

The resulting jar depends on the module in https://github.com/ceylon/ceylon-sdk/pull/321.