use DateTime in utils format_date

This is mostly to avoid duplicating the calendar calculations
in utils.cpp and DateTime.cpp.
fix the description of format_date in LuaFormat
XXX stash -- start adding support for file modification times to FileSystem