Fix Packaging

Fix naming problem with war packaging.
Added support to deploy in Jboss.