Add rb_obj: get a wrapped object for simple types.

This is useful for accessing ruby methods on built-in types.