Update chest animation after cancelling InventoryOpenEvent. Fixes BUKKIT-1440

* Added InventoryOpenEvent support for NetworkRegistry.openRemoteGui
All modded chests that call FMLNetworkHandler.openGui will now properly
fire an InventoryOpenEvent and cancel if needed.

* Update chest animation after cancelling InventoryOpenEvent
Currently if a plugin cancels an InventoryOpenEvent for vanilla chests, the chest
animation for clients is stuck in the open state since IInventory.closeChest() is never called.
To fix the issue, closeChest() is called before exiting the display GUI method.
More info can be found here https://bukkit.atlassian.net/browse/BUKKIT-1440