Add functions for protecting an mruby object from being GC’ed.
Fix typos