Allow inventory creation by InventoryType and title. Fixes BUKKIT-4045

Previous to this change, it was not possible to create an inventory
with both a specified type and title.