Fixed errors in web.xml templates which prevented deployment in JBOSS.

Jboss uses a strict parser for web.xml, it did not like extraneous tags.
fixed pom templates
removed redundancy in project.pom