Fix to_dataframe method for DatetimeIndex indices

Also this removes one of our dependencies on pandas==0.13.1.