fixed converting reference times

Currently converting between one reference time and another assumes that its a gregorian calendar.  Thus, it gives incorrect results.

Switched over functionality to netcdftime for handling conversions when on same calendar but different reference times.