Prepare our Lua API for future changes to capacity/weight

This commit may break backwards compatibility! It prepares the Lua API
for changes proposed in this comment:
https://github.com/otland/forgottenserver/pull/1010#discussion_r18741870
so that we don't have to break backwards compatibility in 1.1.