Bug fix & Lua stuff

Moved and added alot of enums.
Made some changes for player:addItemEx
Fixed a bug with ORIGIN_RANGED for weapons with ammo.