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

This should add a Container:getWeight() to lua script.
IMO it's pointless to do stringstream operations just to cut off a few decimal points like that because you're converting it back to a float anyway. Might as well just push the double and let the script worry about precision if it needs to.