add an example of using aggregate-zip in a maven project to create a single aggregated zip of profiles we can use with #1555
fixes #1582 for some reason the 'echo -n' stuff doesn't work too well on OS X; so using simpler env var setting instead. also making it so we can define the JVM debug args in the profile (e.g. to generate a dynamic per container port)
rename the folder to 'dependencies' which seems nicer and more descriptive than 'modules' for the uploaded dependencies JSON