Rep 1240 war build

Changing the war build to use a WebApplicationInitializer