const_defined? to check superclasses; ref #2593
change class argument of mrb_const_defined_at from `struct RClass*` to `mrb_value` to make it consistent with mrb_const_defined; ref #2593
`Module#const_defined?` to take second optional argument as CRuby; fix #2593
code reduce by using mrb_get_args("n")