Fix for OPENAM-2782, review CR-4433 - update Java agent templates to have agent version injected during build.
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.