Lua changes

Added item:getType() & monster:getType()
Optimized table creation for some functions.
Merge pull request #306 from dalkon/master

Lua changes
Merge remote-tracking branch 'upstream/master'