Close horse inventory on logoff to prevent dupe

Fixes first dupe listed here http://www.spigotmc.org/threads/1-6-1-2-dupe-glitches-donkeys-and-tnt.3223/