[Bleeding] Return correct player SlotType. Fixes BUKKIT-3188

Previously, the SlotType for the last 4 slots in a player's inventory
returned QUICKBAR when it should have returned SlotType.CONTAINER. This
updates the code for determining slot type to return the proper value.

(cherry picked from commit cce775e72a414490b5d105581c91388788330a95)