Add Item.getWeight
Minor cleanup
Use max_allowed_packet in DBInsert

Use max packet length from MySQL in DBInsert class to know when it is
appropriate to execute the query
Remove old comment in Database class
Lua changes

You can now access Creature & Item userdata with these keys, "itemid",
"uid", "actionid" and "type".

Item.transform should not debug the client when setting the id to 0, it
does nothing in that case now.
Merge pull request #1062 from ninjalulz/itemGetWeight

Add Item.getWeight
Initial commit for non-blocking SQL queries
Optimize playerdeath.lua
More stuff for non-blocking SQL queries (lua)
Small fix
Remove unused variable
Callbacks for any async database function
Use non-blocking SQL queries to check for expired market offers
Fix __index

Metamethods must be defined each time its used.
Fix bug with containers in Player::hasCapacity

Fixes #1088
Fixed typos
Merge pull request #1092 from jfevia/master

Fixed typos
Fix enum SKILL_LEVEL
Merge pull request #1095 from TheSumm/master

Fix enum SKILL_LEVEL
Fix #1093