Clean up the inheritance hierarchy.

Some scripts (Observer, Visitor, ASUnitSentinel,
TestLoader) inherit from the top-level script.
Although in practice this is not a problem,
logically this is not correct or necessary. Fix it.