DatesRole: Refactoring date_regex into a builder
DatesRole: renaming usages of date_regex() to $formatted_date
DatesRole: Renaming things inline with "datestring" for regexes and moving  date_output_string to keep parsers together