Change dependency on Datetime to Dates

Not sure if this is 100%, because the tests don't pass on my machine before these changes either. The motivation here is that Datetime.jl will be deprecated at some point in favor of the new `Dates` module that is now in Base (and exists as a package `Dates.jl` that mirrors Base for 0.3 compatibility).