adding support for duplicate parameters in gargl template to the java generator. Fixes #5