More fixes and additional commands

- Fixed GiveInvItem to no longer hand out non-currency items as a stack.
- Added GetInvItemNum to the script commands.
- Added SetInvItemNum to the script commands.
- Added GetOpenInvSlots to the script commands.