Loot now works

The inventory needs to be refined, though. Moved the debug monitor to a
separate file and cleaned it up a little.

New function: fnc_addToVar - makes adding (+) something to a variable
belonging to a unit easier, instead of using setVariable and
getVariable.