Added functions for converting dates from and to ISO 8601 strings. RHEL 6 only provides SpiderMonkey 1.7, whose Date object is too old to support ISO 8601 strings.
Changed all occurences of parsing ISO 8601 dates to use lmsutils.DateFromISOString.