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

This should add a Container:getWeight() to lua script.
I'm not sure it would actually be worth doing, operations on floats/doubles are pretty fast on modern x86-64, unless the compiler screws up.