Fix comment and revert changes in DST transition test as requested.
Move date accessors to utils script and adapt tick generation a format.

Add two properties to the `Dygraph` object to hold the date accessor methods
according to either UTC or local time.

Use these accessors to simplify a little bit the the label format
and the tick generation.