Added same_c_class() function in Lua to check if cpp classes extended in Lua are the same