Closing inventory on teleport. FIXES BUKKIT-3021.

Well, this was easier than I thought.