Calendar => Dates

Improved version of https://github.com/JuliaLang/HttpCommon.jl/pull/9

I'll probably try to do a more comprehensive update of the travis stuff as a separate PR, but this should work for now.