Changed pipes to only connect to inventories when they accept items

This change is meant to make pipes not connect to inventories when inventories don't want them to. For example, pipes will no longer visually look like they connect to the side of a barrel added by Factorization; only to the top and bottom of them.

NOTE: I might have forgotten to throw in another class I might have changed. If I did, please tell me.