DatesRole: introduce date_output_string.

Takes a DateTime or a string we can turn into one and gives a
standardized output string for it.  I'm not convinced this is entirely
the right way to do this.. or that it's named exactly correctly, but
it's probably better than specifying formats everywhere.