add inherited flag and Class#subclassed? method
this is unnecessary as rb_method_entry_make does it already
only invalidate method cache if klass has subclasses or method is redefined