Support date-time binning in histograms

When date-time *durations* are expressed with a numerical value, plotly's unit is the millisecond (ms).
This is different in R, where the `POSIXt` class uses seconds, and the `Date` class uses days.

This PR offers the corresponding conversions for the width (size) of (`x`) bins in histograms.

See these successful `ggplotly` conversions when dates are of class `POSIXt`:
https://plot.ly/~marianne2/336/deaths-by-police-across-time-by-region/,
when dates are of class `Date`:
https://plot.ly/~marianne2/358/deaths-by-police-across-time-by-region/

/cc @chriddyp @alexcjohnson @jackparmer

Yes, actually: indentation.  This is the convention / automatically added in RStudio.
Both conventions (no indentation on empty lines and preserving indentation within a block) make sense, I once found a great thread on the topic on StackOverflow, that I think I shared with @chriddyp ...  Let me know if I can find it again.