[B+C] Added middle click detection for InventoryClickEvent. Fixes BUKKIT-3692

Adds a way to detect middle clicks in InventoryClickEvent.

Bukkit PR: https://github.com/Bukkit/Bukkit/pull/786
Ticket: https://bukkit.atlassian.net/browse/BUKKIT-3692