Symbol#to_proc to support block call.

based on a patch from @ksss; close #2071
Add mrb_regexp_p to check whether mrb_value is Regexp.
Use mrb_regexp_p to check regexp.