Better handling for ISidedInventory tile entities

The pipe shouldn't connect to an inventory that isn't available from a certain side. With this it would be easier to manage what sides the pipe connects to without having to implement IPipeConnection. And also get rid of unnecessary connections.
Merge pull request #1155 from ganymedes01/master

Better handling for ISidedInventory tile entities