[B+C] Make CraftMinecartHopper work as InventoryHolder. Adds BUKKIT-3796

B-797: https://github.com/Bukkit/Bukkit/pull/797
BUKKIT-3796: https://bukkit.atlassian.net/browse/BUKKIT-3796