Add function to get the weight of a container to lua script

This should add a Container:getWeight() to lua script.
But if you go to item.cpp at line 1276 you'll see a function that is part of the "You see" method. You can see the same code at luascript.cpp at line 11128, the exact same code. I don't know what I'm doing wrong.