Fix Date parsing inconsistencies in browsers

Added support in Model.set and setMany to instantiate an attribute value
using a constructor's `fromJSON` static method.

Support table: http://dygraphs.com/date-formats.html

The tests from the `master` branch fail when run in Firefox. This PR fixes this issue.