Automation changes so Hopper can output as well as input

Should be more flexible: I/O sides now access both slots, but input slot
can only have items added and output slot can only have items removed.
(As long as automation mods are properly coded for vanilla
ISidedInventory.)