Fix for OPENAM-2782, review CR-4433 - update Java agent templates to have agent version injected during build.
Fix for OPENAM-3833, review CR-3341 - Have SampleApp make use of dc=openam,dc=forgerock,dc=org for group DN's.
Rework distribution builds to have a separate version per agent rather than generating multiple ZIP's per agent group. Updated build timestamp format to match format used in old Ant script. Part of work for AME-2042.