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

This should add a Container:getWeight() to lua script.