fix wrong actual and expected order
preserve only arguments on stack; fix #1527
type check class/module in mrb_get_args(); close #1477