Fixed jboss-as deploy, fixed variable name for user info, added title pa...

...rameter to template.