Make moment an optional dependency
Description
This PR makes the moment package an optional dependency so as to decrease bundle size for those that do not use moment to format date/time.
Potentially breaking change: Projects that do not have moment as a direct dependency will find when upgrading that the supplied dateFormat/timeFormat would no longer have any effect on the displayed date/time, although there will be an error message logged to console to indicate that this is happening.
Tested by running the example app and ensured the dates/times are still rendered properly

Changelog
Make moment an optional dependency
Internal note: look at unifying with #1805
Why not replace with a better option like https://day.js.org/ or even https://date-fns.org/ if dayjs are no longer enough.
@frw Thanks a lot for your contribution; apologies, but we will be merging this as part of our v7 (link), so unfortunately you'll not get the due credit, hope it's ok.
@dougg0k, I think this component will be replaced so I am not sure we want to invest in this further.