make mrb_str_new_cstr DRY

Using str_new eliminates duplicated codes in mrb_str_new_cstr.
Merge pull request #1292 from cubicdaiya/dry_mrb_str_new_cstr

make mrb_str_new_cstr DRY
Cleanup mrb_str_resize().
Merge pull request #1293 from monaka/pr-cleanup-mrb_str_resize

Cleanup mrb_str_resize().
Improve target example to more practical.
Add fallback for allocate CRC buffer
Merge pull request #1295 from kyab/improve-target-example

Improve target example to more practical.
Merge pull request #1296 from kyab/fallback-for-crc-buffer

Add fallback for allocate CRC buffer