Fixes #583 - Exports - XML for Package not correctly structured
Fixes #584 - Exports - Incorrect date formats in XML and JSON
    Changed from yyyy/MM/dd to yyyy-MM-dd
Merge branch 'newdev' into edina
Fixes #585 - Export: Incorrect 'coverage statement type' in JSON
Merge branch 'newdev' into edina
Merge branch 'newdev' into edina
Fixes #609 - Ian fix wasn't picking the validOn value
params.validOn doesn't actually exist the variable is in result.validOn, so the value wasn't displayed on the page.
I also hard coded the date format in the query to YYYY-MM-DD so that the end date get dispayed in the same format in the table.
Merge branch 'newdev' into edina
Merge branch 'edina' into newdev