GtfsObjects refactoring.

hashCode, ==, and checking for missing mandatory fields are now part of
GtfsObject instead of its implementations.