Better decoding of netCDF times

This version avoids using the netCDF4 library unless strictly
necessary (e.g., for non-standard calendars).
Merge pull request #297 from shoyer/better-decode-times

Better decoding of netCDF times