add mrb_str_to_cstr
Merge pull request #836 from iij/pr-mrb_str_to_cstr

string contains null byte check utility function (mrb_str_to_cstr)
Merge branch 'master' into iij

Conflicts:
	include/mruby/string.h