Adding LuaRef class to main branch in preperation to migrate to the

metatable object method worked out in the experiments branch