WebAppCreator now has the ability to create apps from templates.
It can also mix different templates to generate the sample app based on the value passed with a
'-templates' parameter.

The sample app has now been separated into five templates:
- The sample code (sample template)
- Ant build.xml (ant template)
- Eclipse files (eclipse template)
- Maven pom.xml (maven template)
- The readme (readme template)
- The sample tests (_sample-test template)
- Eclipse test-related files (_eclipse-test template)

By default webAppCreator will use '-templates sample,ant,eclipse,readme'

The -junit parameter now causes test templates to be seached and added to the list of templates.
In this case, a template 'foo' will cause webAppCreator to attempt to also add a template '_foo-test'.

Legacy options (-maven, -noant, -XonlyEclipse, -XnoEclipse) are still honored, but are considered deprecated.

Future work will refactor tag definitions into each template.

Review at http://gwt-code-reviews.appspot.com/1371808


git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@9819 8db76d5a-ed1c-0410-87a9-c151d255dfc7
25 files changed