add getFirstEmptySlot, and getFirstUsedSlot to inventory.

Signed-off-by: Nick Minkler <sleaker@gmail.com>
Merge pull request #545 from Sleaker/master

Utility methods for Inventory