Restore prototype equals functions to core types.

I also added data comparison options to `TimeInterval` and `TimeIntervalCollection`.

All of this is needed for DynamicScene Geometry & Appearances support, but I figured I'd bring it in under a separate pull to keep things manageable.