Changes to the wl2waterml2.xslt transformer to add a date sanity check and to get the output to fully validate

Got the date function working, not sure where we need to invoke it. Took a long time to get all of the output to validate.