SERVER-11118 add dateToString aggregation operator

note that whitespace changes were OK'd by mathias