Refactor mrb_define_class() method in class.c.c
Merge pull request #1334 from suzukaze/refactor-class-c

Refactor mrb_define_class() method in class.c.c