Problem: Ruby bindings do not convert ptrs to object wrappers

Solution: Add some basic infrastructure to do this in the known cases