DC2B-56:  Create Collection record xml file when Metadata collection is saved.

1) Insert metadata:save permission to Administrator, Data Custodian and Researcher with upload.
2) Create a collection record xml.
3) Add a W3CDateFormat class.
4) Clean up the code in MetadataController.groovy
Merge branch 'master' of https://github.com/IntersectAustralia/aodn-portal