Fix date comparisons to use equals

Several places in DynamicScene used reference equality for caching values by date instead of `equals`.  On my system, fixing this reduces the CPU usage while paused by about 1%.

Also cleaned up JulianDate a bit.