Some improvements to inventory API

Support for horses, allow custom-titled inventories and inventory views

Associated with https://github.com/Bukkit/CraftBukkit/pull/1344