Fixed top-level class superclass condition

* there was twice the condition `full_name == 'Object' and defined?(::BasicObject)`,
  therefore making the first instruction useless as overwritten by the second.
Merge pull request #282 from eregon/fix_object_parent_condition

Fix top-level class superclass condition