itemBehaviors: Performance increase, corner case fix

Performance increase to core.getitem when the bot doesn't yet have the item.
Fixed a bug related to ValidateItem still not making the item nil if invalid.