Moved code across to use lua_userdata to manage pointer to osg::Object that is ref()/unref()