Parse the dates argument into a sorted, unique vector of dates
Source: R/accessEnvDat.R
parse_dates.RdYYYYMMDD is what a survey database usually holds, and YYYY-MM-DD is what
R prints, so both are accepted, along with Date objects and a mixture of
the three. Numbers are taken as YYYYMMDD too, since an unquoted 20150402
is an easy thing to type.