Add check for crafting inventory when getting slot type. Fixes BUKKIT-3188

For a while now, there has been an issue where the last 4 slots of the
players inventory show the type of QUICKBAR when clicked, this is
incorrect. To fix this, a check has been added specially for player
inventories which checks and returns the correct slot types.